Search in sources :

Example 1 with StudyImporterForSzoboszlai

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

the class GitHubImporterFactoryIT method createSzoboszlai.

@Test
public void createSzoboszlai() throws StudyImporterException, DatasetFinderException {
    final DatasetFinderGitHubRemote datasetFinderGitHubRemote = new DatasetFinderGitHubRemote();
    StudyImporter importer = importerFor(datasetFinderGitHubRemote, "globalbioticinteractions/szoboszlai2015");
    assertThat(importer, is(notNullValue()));
    assertThat(importer, is(instanceOf(StudyImporterForSzoboszlai.class)));
    StudyImporterForSzoboszlai importerz = (StudyImporterForSzoboszlai) importer;
    assertThat(importerz.getSourceCitation(), containsString("Szoboszlai"));
}
Also used : StudyImporterForSzoboszlai(org.eol.globi.data.StudyImporterForSzoboszlai) 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 StudyImporterForSzoboszlai (org.eol.globi.data.StudyImporterForSzoboszlai)1 Test (org.junit.Test)1