@Test
public void testSupportsMultupleWildcards() throws Exception {

  // Given
  path("/abc123");
  path("/a/abcdef");
  path("/def/abc");
  path("/xy/abc/efg");
  path("/a/xyabc");
  path("/a/b/abc");
  path("/b");
  // When
  setAcls("/*/abc*", "ip:127.0.0.1:r");
  // Then
  assertHasAcl("/a/abcdef", "ip", "127.0.0.1", READ);
  assertHasAcl("/xy/abc/efg", "ip", "127.0.0.1", READ);
  assertHasAcl("/def/abc", "ip", "127.0.0.1", READ);
  assertHasAcl("/a/xyabc", "world", "anyone", ALL);
  assertHasAcl("/abc123", "world", "anyone", ALL);
  assertHasAcl("/a/b/abc", "world", "anyone", ALL);
  assertHasAcl("/b", "world", "anyone", ALL);
}