### Question:
OWLDataManager { public OWLClass getOWLClass(IRI iri) throws OntologyHelperException { checkClassMap(); return owlClassMap.get(iri); } OWLDataManager(URI ontologyUri); void dispose(); OWLOntology getOntology(); OWLReasoner getReasoner(); boolean isIriInOntology(IRI iri); OWLClass getOWLClass(IRI iri);  }### Answer:
@Test public void getOWLClass_nullIri() throws Exception { final IRI iri = null; OWLDataManager dm = new OWLDataManager(testOntologyUri); assertNull(dm.getOWLClass(iri)); }
@Test public void getOWLClass_noSuchIri() throws Exception { final IRI iri = IRI.create("http: OWLDataManager dm = new OWLDataManager(testOntologyUri); assertNull(dm.getOWLClass(iri)); }
@Test public void getOWLClass() throws Exception { final IRI iri = IRI.create(OWLOntologyHelperMethodsTest.TEST_IRI); OWLDataManager dm = new OWLDataManager(testOntologyUri); OWLClass clazz = dm.getOWLClass(iri); assertEquals(iri, clazz.getIRI()); }