axioms2.add(DataPropertyAssertion(propA2, indA, Literal(33)));
axioms2.add(NegativeDataPropertyAssertion(propA2, indA, Literal(44)));
axioms2.add(AnnotationAssertion(annoProp, propA2.getIRI(), Literal("X")));
OWLEntityRenamer entityRenamer = new OWLEntityRenamer(
ont.getOWLOntologyManager(), singleton(ont));
List<OWLOntologyChange> changes = entityRenamer.changeIRI(propA,
propA2.getIRI());
ont.getOWLOntologyManager().applyChanges(changes);
assertEquals(ont.getAxioms(), axioms2);
List<OWLOntologyChange> changes2 = entityRenamer.changeIRI(
propA2.getIRI(), propA.getIRI());