@Test
public void testMobiOntologyId() throws Exception {

    org.semanticweb.owlapi.model.IRI oIRI = org.semanticweb.owlapi.model.IRI.create("http://www.test.com/ontology");
    org.semanticweb.owlapi.model.IRI vIRI = org.semanticweb.owlapi.model.IRI.create("http://www.test.com/ontology/1.0.0");
    OWLOntologyID owlId2 = new OWLOntologyID(oIRI, vIRI);
    IRI moIRI = mock(IRI.class);
    IRI mvIRI = mock(IRI.class);
    
    expect(moIRI.stringValue()).andReturn("http://www.test.com/ontology").anyTimes();
    expect(mvIRI.stringValue()).andReturn("http://www.test.com/ontology/1.0.0").anyTimes();
    
    mockStaticPartial(SimpleOntologyValues.class, "mobiIRI");
    expect(SimpleOntologyValues.mobiIRI(oIRI)).andReturn(moIRI).anyTimes();
    expect(SimpleOntologyValues.mobiIRI(vIRI)).andReturn(mvIRI).anyTimes();
    
    replay(moIRI, mvIRI, SimpleOntologyValues.class);
    OntologyId ontologyId = SimpleOntologyValues.mobiOntologyId(owlId2);
    assertEquals("http://www.test.com/ontology", ontologyId.getOntologyIRI().get().stringValue());
    assertEquals("http://www.test.com/ontology/1.0.0", ontologyId.getVersionIRI().get().stringValue());
}