    @Test
    public void testCompactByPrincipal6() {

        nfsace4[] acl = new nfsace4[]{
            toACE(new utf8str_mixed("user1"), ACE4_ACCESS_DENIED_ACE_TYPE, ACE4_READ_DATA, ACE4_IDENTIFIER_GROUP),
            toACE(new utf8str_mixed("user1"), ACE4_ACCESS_DENIED_ACE_TYPE, ACE4_READ_DATA),};

        assertEquals(2, Acls.compact(acl).length);
    }