use of org.eol.globi.data.DatasetImporterForGoMexSI2 in project eol-globi-data by jhpoelen.
the class DatasetImporterFactoryImplIT method createGoMexSI.
@Test
public void createGoMexSI() throws StudyImporterException, DatasetRegistryException {
final DatasetRegistryGitHubRemote datasetFinderGitHubRemote = new DatasetRegistryGitHubRemote(inStream -> inStream);
DatasetImporter importer = importerFor(datasetFinderGitHubRemote, "gomexsi/interaction-data");
assertThat(importer, is(notNullValue()));
assertThat(importer, is(instanceOf(DatasetImporterForGoMexSI2.class)));
DatasetImporterForGoMexSI2 gomexsiImporter = (DatasetImporterForGoMexSI2) importer;
assertThat(gomexsiImporter.getSourceCitation(), is("http://gomexsi.tamucc.edu"));
}
Aggregations