assertEquals(0, acMgr.getPolicies(path).length);
assertTrue(acMgr.getApplicablePolicies(path).hasNext());
}
@Test
public void testAccessControlContentPaths() throws Exception {
<BUG>ACL policy = (ACL) getApplicablePolicy(testPath);
policy.addEntry(testPrincipal, testPrivileges, true, Collections.singletonMap(REP_GLOB, valueFactory.createValue("*")));
acMgr.setPolicy(testPath, policy);</BUG>
String aclPath = testPath + '/' + REP_POLICY;
Tree acl = root.getTree(aclPath);

assertEquals(0, acMgr.getPolicies(path).length);
assertTrue(acMgr.getApplicablePolicies(path).hasNext());
}
@Test
public void testAccessControlContentPaths() throws Exception {
ACL policy = getApplicablePolicy(testPath);
policy.addEntry(testPrincipal, testPrivileges, true, getGlobRestriction("*"));
acMgr.setPolicy(testPath, policy);
String aclPath = testPath + '/' + REP_POLICY;
Tree acl = root.getTree(aclPath);
