.createOntology(IRI("http://www.semanticweb.org/ontologies/ontC"));
m.applyChange(new AddImport(importingOnt, m.getOWLDataFactory()
.getOWLImportsDeclaration(
ont.getOntologyID().getOntologyIRI().get())));
assertTrue(m.contains(oldIRI));
OWLOntologyIRIChanger changer = new OWLOntologyIRIChanger(m);
m.applyChanges(changer.getChanges(ont, newIRI));
assertFalse(m.contains(oldIRI));
assertTrue(m.contains(newIRI));
assertTrue(m.getOntologies().contains(ont));
assertTrue(m.getDirectImports(importingOnt).contains(ont));
OWLOntology ontology = m.getOntology(newIRI);