@Test
public void testSetAclsRecursively() throws Exception {

  // Given
  path("/parent");
  path("/parent/a");
  path("/parent/a/b");
  path("/parent/a/b/c");
  // When
  setAcls("/", "ip:127.0.0.1:r");
  // Then
  assertHasAcl("/parent", "ip", "127.0.0.1", READ);
  assertHasAcl("/parent/a", "ip", "127.0.0.1", READ);
  assertHasAcl("/parent/a/b", "ip", "127.0.0.1", READ);
  assertHasAcl("/parent/a/b/c", "ip", "127.0.0.1", READ);
}