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