@Test
public void testSupportsWildcard() throws Exception {

  // Given
  path("/abc123");
  path("/abcdef/efg");
  path("/abc/123");
  path("/x");
  path("/y/a");
  path("/ab");
  // When
  setAcls("/abc*", "ip:127.0.0.1:r");
  // Then
  assertHasAcl("/abc123", "ip", "127.0.0.1", READ);
  assertHasAcl("/abcdef/efg", "ip", "127.0.0.1", READ);
  assertHasAcl("/abc/123", "ip", "127.0.0.1", READ);
  assertHasAcl("/x", "world", "anyone", ALL);
  assertHasAcl("/y/a", "world", "anyone", ALL);
  assertHasAcl("/ab", "world", "anyone", ALL);
}