use of org.eol.globi.taxon.UberonLookupService in project eol-globi-data by jhpoelen.
the class StudyImporterForAkinTest method parseLifeStage.
@Test
public void parseLifeStage() throws TermLookupServiceException {
UberonLookupService service = new UberonLookupService();
assertThat(StudyImporterForAkin.parseLifeStage(service, "something egg").get(0).getId(), is("UBERON:0007379"));
assertThat(StudyImporterForAkin.parseLifeStage(service, "something eggs").get(0).getId(), is("UBERON:0007379"));
assertThat(StudyImporterForAkin.parseLifeStage(service, "something larvae").get(0).getId(), is("UBERON:0000069"));
assertThat(StudyImporterForAkin.parseLifeStage(service, "something zoea").get(0).getId(), is("UBERON:0000069"));
}
use of org.eol.globi.taxon.UberonLookupService in project eol-globi-data by jhpoelen.
the class DatasetImporterForAkinTest method parseLifeStage.
@Test
public void parseLifeStage() throws TermLookupServiceException {
UberonLookupService service = new UberonLookupService();
assertThat(DatasetImporterForAkin.parseLifeStage(service, "something egg").get(0).getId(), is("UBERON:0007379"));
assertThat(DatasetImporterForAkin.parseLifeStage(service, "something eggs").get(0).getId(), is("UBERON:0007379"));
assertThat(DatasetImporterForAkin.parseLifeStage(service, "something larvae").get(0).getId(), is("UBERON:0000069"));
assertThat(DatasetImporterForAkin.parseLifeStage(service, "something zoea").get(0).getId(), is("UBERON:0000069"));
}
Aggregations