use of org.eol.globi.data.DatasetImporter in project eol-globi-data by jhpoelen.
the class DatasetImporterFactoryImplIT method createMetaTableREEM.
@Test
public void createMetaTableREEM() throws StudyImporterException, DatasetRegistryException {
final DatasetRegistryGitHubRemote datasetFinderGitHubRemote = new DatasetRegistryGitHubRemote(inStream -> inStream);
DatasetImporter importer = importerFor(datasetFinderGitHubRemote, "globalbioticinteractions/noaa-reem");
assertThat(importer, is(notNullValue()));
assertThat(importer, is(instanceOf(DatasetImporterForMetaTable.class)));
final JsonNode config = ((DatasetImporterForMetaTable) importer).getConfig();
assertThat(config, is(notNullValue()));
}
Aggregations