@Test public void lookupUnsupported() throws IOException { TaxonImage taxonImage = new WikiDataImageSearch().lookupImageForExternalId("foo:bar"); assertNull(taxonImage); }
@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);  }