OWLOntology ont = getOWLOntology("ont");
OWLOntologyManager man = ont.getOWLOntologyManager();
man.addAxiom(ont, EquivalentClasses(OWLThing(), clsX));
man.addAxiom(ont, SubClassOf(clsB, clsA));
man.addAxiom(ont, EquivalentClasses(clsA, clsAp));
StructuralReasoner reasoner = new StructuralReasoner(ont,
new SimpleConfiguration(), BufferingMode.NON_BUFFERING);
testClassHierarchy(reasoner);
man.addAxiom(ont, SubClassOf(clsA, OWLThing()));
testClassHierarchy(reasoner);
man.removeAxiom(ont, SubClassOf(clsA, OWLThing()));