public void testCache() throws Exception {
modifyPrivileges(path, testGroup.getPrincipal(), privilegesFromName(Privilege.JCR_READ), true);
AccessControlPolicy[] plcs = acMgr.getEffectivePolicies(path);
AccessControlPolicy[] plcs2 = acMgr.getEffectivePolicies(childNPath);
modifyPrivileges(path, testGroup.getPrincipal(), privilegesFromName(Privilege.JCR_WRITE), false);
plcs = acMgr.getEffectivePolicies(path);
plcs2 = acMgr.getEffectivePolicies(childNPath);
modifyPrivileges(childNPath, testGroup.getPrincipal(), privilegesFromName(Privilege.JCR_ADD_CHILD_NODES), true);
plcs = acMgr.getEffectivePolicies(path);
plcs2 = acMgr.getEffectivePolicies(childNPath);
modifyPrivileges(childNPath, testGroup.getPrincipal(), privilegesFromName(Privilege.JCR_REMOVE_CHILD_NODES), true);
plcs = acMgr.getEffectivePolicies(path);
plcs2 = acMgr.getEffectivePolicies(childNPath);