use of org.eol.globi.data.StudyImporterForHafner in project eol-globi-data by jhpoelen.
the class GitHubImporterFactoryIT method createHafner.
@Test
public void createHafner() throws StudyImporterException, DatasetFinderException {
final DatasetFinder datasetFinderGitHubRemote = new DatasetFinderGitHubRemote();
StudyImporter importer = new GitHubImporterFactory().createImporter(DatasetFactory.datasetFor("globalbioticinteractions/hafner", datasetFinderGitHubRemote), null);
assertThat(importer, is(notNullValue()));
StudyImporterForHafner gomexsiImporter = (StudyImporterForHafner) importer;
assertThat(gomexsiImporter.getDataset().getResourceURI("hafner/gopher_lice_int.csv"), is("gopher_lice_int.csv"));
}
Aggregations