@Test
public void testOntologyID() {
IRI iriA = IRI("http://www.another.com/ont");
IRI iriB = IRI("http://www.another.com/ont/version");
OWLOntologyID ontIDBoth = new OWLOntologyID(of(iriA), of(iriB));
OWLOntologyID ontIDBoth2 = new OWLOntologyID(of(iriA), of(iriB));
assertEquals(ontIDBoth, ontIDBoth2);
OWLOntologyID ontIDURIOnly = new OWLOntologyID(of(iriA), absent());
assertFalse(ontIDBoth.equals(ontIDURIOnly));
OWLOntologyID ontIDNoneA = new OWLOntologyID();
OWLOntologyID ontIDNoneB = new OWLOntologyID();
assertFalse(ontIDNoneA.equals(ontIDNoneB));
}