Search in sources :

Example 1 with StudyImporterForMetaTable

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

the class GitHubImporterFactoryIT method createMetaTableREEM.

@Test
public void createMetaTableREEM() throws StudyImporterException, DatasetFinderException {
    final DatasetFinderGitHubRemote datasetFinderGitHubRemote = new DatasetFinderGitHubRemote();
    StudyImporter importer = importerFor(datasetFinderGitHubRemote, "globalbioticinteractions/noaa-reem");
    assertThat(importer, is(notNullValue()));
    assertThat(importer, is(instanceOf(StudyImporterForMetaTable.class)));
    final JsonNode config = ((StudyImporterForMetaTable) importer).getConfig();
    assertThat(config, is(notNullValue()));
}
Also used : StudyImporterForMetaTable(org.eol.globi.data.StudyImporterForMetaTable) JsonNode(org.codehaus.jackson.JsonNode) BaseStudyImporter(org.eol.globi.data.BaseStudyImporter) StudyImporter(org.eol.globi.data.StudyImporter) Test(org.junit.Test)

Aggregations

JsonNode (org.codehaus.jackson.JsonNode)1 BaseStudyImporter (org.eol.globi.data.BaseStudyImporter)1 StudyImporter (org.eol.globi.data.StudyImporter)1 StudyImporterForMetaTable (org.eol.globi.data.StudyImporterForMetaTable)1 Test (org.junit.Test)1