assertFalse(acl.equals(new TestACL(getTestPath(), rp, ace1, ace2)));
}
@Test
public void testHashCode() throws Exception {
RestrictionProvider rp = getRestrictionProvider();
ACE ace1 = new ACE(testPrincipal, privilegesFromNames(PrivilegeConstants.JCR_VERSION_MANAGEMENT), false, null);
ACE ace2 = new ACE(testPrincipal, testPrivileges, true, null);
ACE ace2b = new ACE(testPrincipal, getAggregatedPrivileges(testPrivileges), true, null);
JackrabbitAccessControlList acl = createACL(ace1, ace2);