### Question:
SimpleOntologyValues { public static OClass mobiClass(OWLClass owlapiClass) { if (owlapiClass == null) { return null; } return new SimpleClass(mobiIRI(owlapiClass.getIRI())); } SimpleOntologyValues(); @Activate void activate(); @Deactivate void deactivate(); static OWLOntology owlapiOntology(Ontology ontology); static IRI mobiIRI(org.semanticweb.owlapi.model.IRI owlIri); static org.semanticweb.owlapi.model.IRI owlapiIRI(IRI mobiIri); static Literal mobiLiteral(OWLLiteral owlLiteral); static OWLLiteral owlapiLiteral(Literal literal); static Annotation mobiAnnotation(OWLAnnotation owlAnno); static OWLAnnotation owlapiAnnotation(Annotation anno); static Individual mobiIndividual(OWLIndividual owlapiIndividual); static OWLNamedIndividual owlapiIndividual(Individual mobiIndividual); static OntologyId mobiOntologyId(OWLOntologyID owlId); static OWLOntologyID owlapiOntologyId(OntologyId simpleId); static OClass mobiClass(OWLClass owlapiClass); static OWLClass owlapiClass(OClass mobiClass); static Datatype mobiDatatype(OWLDatatype datatype); static OWLDatatype owlapiDatatype(Datatype datatype); static ObjectProperty mobiObjectProperty(OWLObjectProperty property); static OWLObjectProperty owlapiObjectProperty(ObjectProperty property); static DataProperty mobiDataProperty(OWLDataProperty property); static OWLDataProperty owlapiDataProperty(DataProperty property); static AnnotationProperty mobiAnnotationProperty(OWLAnnotationProperty property); static OWLAnnotationProperty owlapiAnnotationProperty(AnnotationProperty property);  }### Answer:
@Test public void testMobiClass() throws Exception { org.semanticweb.owlapi.model.IRI owlClassIRI = org.semanticweb.owlapi.model.IRI.create("http: OWLClass owlapiClass = new OWLClassImpl(owlClassIRI); IRI classIRI = mock(IRI.class); mockStaticPartial(SimpleOntologyValues.class, "mobiIRI", "owlapiIRI"); expect(SimpleOntologyValues.mobiIRI(owlClassIRI)).andReturn(classIRI).anyTimes(); expect(SimpleOntologyValues.owlapiIRI(classIRI)).andReturn(owlClassIRI).anyTimes(); expect(classIRI.stringValue()).andReturn("http: replay(classIRI, SimpleOntologyValues.class); assertEquals(classIRI, SimpleOntologyValues.mobiClass(owlapiClass).getIRI()); }