org.junit.Assert.assertTrue("Repo should be a HCatalogExternalDatasetRepository",
repo instanceof HiveExternalDatasetRepository);
Assert.assertEquals("Repository URI", repoUri, repo.getUri());
// verify location
DatasetDescriptor created = repo.create("ns", "test",
new DatasetDescriptor.Builder()
.schemaLiteral("\"string\"")
.build()).getDescriptor();
Assert.assertEquals("Location should be in local FS",
"file", created.getLocation().getScheme());