use of org.eol.globi.data.DatasetImporterForPlanque in project eol-globi-data by jhpoelen.
the class DatasetImporterFactoryImplIT method createPlanque.
@Test
public void createPlanque() throws StudyImporterException, DatasetRegistryException, IOException {
final DatasetRegistryGitHubRemote datasetFinderGitHubRemote = new DatasetRegistryGitHubRemote(inStream -> inStream);
DatasetImporter importer = importerFor(datasetFinderGitHubRemote, "globalbioticinteractions/planque2014");
assertThat(importer, is(notNullValue()));
assertThat(importer, is(instanceOf(DatasetImporterForPlanque.class)));
DatasetImporterForPlanque importerz = (DatasetImporterForPlanque) importer;
assertThat(importerz.getSourceCitation(), containsString("Planque"));
}
Aggregations