@Test
public void testImpliesURIPositive() throws Exception {

  assertTrue(DBWildcardPrivilege.impliesURI("hdfs://namenode:8020/path",
      "hdfs://namenode:8020/path/to/some/dir"));
  assertTrue(DBWildcardPrivilege.impliesURI("hdfs://namenode:8020/path",
      "hdfs://namenode:8020/path"));
  assertTrue(DBWildcardPrivilege.impliesURI("file:///path",
      "file:///path/to/some/dir"));
  assertTrue(DBWildcardPrivilege.impliesURI("file:///path",
      "file:///path"));
}