@Test public void lookupLionByITIS() throws IOException { TaxonImage taxonImage = new WikiDataImageSearch().lookupImageForExternalId("ITIS:183803"); assertNotNull(taxonImage); assertThat(taxonImage.getThumbnailURL(), startsWith("https: assertThat(taxonImage.getInfoURL(), is("http: assertThat(taxonImage.getCommonName(), is("African Lion, Lion @en")); }
@Override public TaxonImage lookupImageForExternalId(String externalId) throws IOException { return lookupImageForExternalId(externalId, () -> "en"); }
WikiDataImageSearch implements ImageSearch { @Override public TaxonImage lookupImageForExternalId(String externalId) throws IOException { return lookupImageForExternalId(externalId, () -> "en"); } }
WikiDataImageSearch implements ImageSearch { @Override public TaxonImage lookupImageForExternalId(String externalId) throws IOException { return lookupImageForExternalId(externalId, () -> "en"); }  }
WikiDataImageSearch implements ImageSearch { @Override public TaxonImage lookupImageForExternalId(String externalId) throws IOException { return lookupImageForExternalId(externalId, () -> "en"); }  @Override TaxonImage lookupImageForExternalId(String externalId); @Override TaxonImage lookupImageForExternalId(String externalId, SearchContext context); }
WikiDataImageSearch implements ImageSearch { @Override public TaxonImage lookupImageForExternalId(String externalId) throws IOException { return lookupImageForExternalId(externalId, () -> "en"); }  @Override TaxonImage lookupImageForExternalId(String externalId); @Override TaxonImage lookupImageForExternalId(String externalId, SearchContext context);  }