Search in sources :

Example 1 with StudyImporterForGoMexSI2

use of org.eol.globi.data.StudyImporterForGoMexSI2 in project eol-globi-data by jhpoelen.

the class GitHubImporterFactoryIT method createGoMexSI.

@Test
public void createGoMexSI() throws StudyImporterException, DatasetFinderException {
    final DatasetFinderGitHubRemote datasetFinderGitHubRemote = new DatasetFinderGitHubRemote();
    StudyImporter importer = importerFor(datasetFinderGitHubRemote, "gomexsi/interaction-data");
    assertThat(importer, is(notNullValue()));
    assertThat(importer, is(instanceOf(StudyImporterForGoMexSI2.class)));
    StudyImporterForGoMexSI2 gomexsiImporter = (StudyImporterForGoMexSI2) importer;
    assertThat(gomexsiImporter.getSourceCitation(), is("http://gomexsi.tamucc.edu"));
}
Also used : StudyImporterForGoMexSI2(org.eol.globi.data.StudyImporterForGoMexSI2) BaseStudyImporter(org.eol.globi.data.BaseStudyImporter) StudyImporter(org.eol.globi.data.StudyImporter) Test(org.junit.Test)

Aggregations

BaseStudyImporter (org.eol.globi.data.BaseStudyImporter)1 StudyImporter (org.eol.globi.data.StudyImporter)1 StudyImporterForGoMexSI2 (org.eol.globi.data.StudyImporterForGoMexSI2)1 Test (org.junit.Test)1