### Question:
OWLOntologyHelper extends AbstractOntologyHelper { @Override public Collection<String> findLabels(String iri) throws OntologyHelperException { return findLabels(dataManager.getOntology(), IRI.create(iri)); } OWLOntologyHelper(OWLOntologyConfiguration config);  OWLOntologyHelper(URI ontologyUri, OWLOntologyConfiguration config); @Override void updateLastCallTime(); @Override long getLastCallTime(); @Override void dispose(); @Override boolean isIriInOntology(String iri); @Override Collection<String> findLabels(String iri); @Override Collection<String> findLabelsForIRIs(Collection<String> iris); @Override Collection<String> findSynonyms(String iri); @Override Collection<String> findDefinitions(String iri); @Override Collection<String> getChildIris(String iri); @Override Collection<String> getDescendantIris(String iri); @Override Collection<String> getParentIris(String iri); @Override Collection<String> getAncestorIris(String iri); @Override Map<String, Collection<String>> getRelations(String iri);  }### Answer:
@Test public void constructString() throws Exception { OWLOntologyConfiguration config = new OWLOntologyConfiguration(TEST_ONTOLOGY, Collections.singletonList(OWLOntologyConfiguration.LABEL_PROPERTY_URI), Collections.singletonList(OWLOntologyConfiguration.SYNONYM_PROPERTY_URI), Collections.singletonList(OWLOntologyConfiguration.DEFINITION_PROPERTY_URI), Collections.emptyList()); OntologyHelper helper = new OWLOntologyHelper(config); assertNotNull(helper.findLabels(TEST_IRI)); }
@Test public void construct() throws Exception { OWLOntologyConfiguration config = new OWLOntologyConfiguration(TEST_ONTOLOGY, Collections.singletonList(OWLOntologyConfiguration.LABEL_PROPERTY_URI), Collections.singletonList(OWLOntologyConfiguration.SYNONYM_PROPERTY_URI), Collections.singletonList(OWLOntologyConfiguration.DEFINITION_PROPERTY_URI), Collections.emptyList()); OntologyHelper helper = new OWLOntologyHelper(config); assertNotNull(helper.findLabels(TEST_IRI)); }