assertEquals(DOROTHEE, ace.getPrincipalId());
assertEquals(1, ace.getPermissions().size());
assertEquals(EnumBasicPermissions.CMIS_ALL.value(), ace.getPermissions().get(0));
InMemoryAcl acl = createDefaultAcl();
Acl commonsAcl = acl.toCommonsAcl();
assertEquals(4, commonsAcl.getAces().size());
assertTrue(hasCommonsAce(commonsAcl, ANDREAS, ""));
assertFalse(hasCommonsAce(commonsAcl, ANDREAS, EnumBasicPermissions.CMIS_READ.value()));
assertFalse(hasCommonsAce(commonsAcl, ANDREAS, EnumBasicPermissions.CMIS_WRITE.value()));
assertFalse(hasCommonsAce(commonsAcl, ANDREAS, EnumBasicPermissions.CMIS_ALL.value()));