// We only do the deeper implementation checks one per combination.
Assert.assertNotNull("Received a repository", repository);
Assert.assertTrue("Repo is a FileSystem repo",
repository instanceof FileSystemDatasetRepository);
MetadataProvider provider = ((FileSystemDatasetRepository) repository)
.getMetadataProvider();
Assert.assertTrue("Repo is using a FileSystemMetadataProvider",
provider instanceof FileSystemMetadataProvider);
FileSystemMetadataProvider fsProvider = (FileSystemMetadataProvider) provider;
Assert.assertTrue("FileSystem is a LocalFileSystem",