use of org.eol.globi.data.StudyImporterForPlanque in project eol-globi-data by jhpoelen.
the class GitHubImporterFactoryIT method createPlanque.
@Test
public void createPlanque() throws StudyImporterException, DatasetFinderException {
final DatasetFinderGitHubRemote datasetFinderGitHubRemote = new DatasetFinderGitHubRemote();
StudyImporter importer = importerFor(datasetFinderGitHubRemote, "globalbioticinteractions/planque2014");
assertThat(importer, is(notNullValue()));
assertThat(importer, is(instanceOf(StudyImporterForPlanque.class)));
StudyImporterForPlanque importerz = (StudyImporterForPlanque) importer;
assertThat(importerz.getSourceCitation(), containsString("Planque"));
assertThat(importerz.getLinks(), is(notNullValue()));
assertThat(importerz.getReferences(), is(notNullValue()));
assertThat(importerz.getReferencesForLinks(), is(notNullValue()));
}
Aggregations