pt.getAccessControlEntries()[0].getPrivileges());
assertSamePrivileges(privilegesFromName(Privilege.JCR_READ),
pt.getAccessControlEntries()[1].getPrivileges());
// remove the deny-READ entry
pt.removeAccessControlEntry(pt.getAccessControlEntries()[1]);
assertTrue(pt.size() == 1);
assertSamePrivileges(privilegesFromName(Privilege.JCR_ADD_CHILD_NODES),
pt.getAccessControlEntries()[0].getPrivileges());
// remove the allow-ADD_CHILD_NODES entry