public void testSubClassOfAxiomAccessors() {
OWLOntology ont = getOWLOntology("ont");
OWLClass clsA = Class(iri("A"));
OWLClass clsB = Class(iri("B"));
OWLObjectProperty prop = ObjectProperty(iri("prop"));
OWLOntologyManager man = ont.getOWLOntologyManager();
OWLSubClassOfAxiom ax = SubClassOf(clsA, clsB);
man.addAxiom(ont, ax);
OWLSubClassOfAxiom ax2 = SubClassOf(clsA,
ObjectSomeValuesFrom(prop, clsB));
man.addAxiom(ont, ax2);
performAxiomTests(ont, ax, ax2);
assertTrue(ont.getSubClassAxiomsForSubClass(clsA).contains(ax));
assertTrue(ont.getSubClassAxiomsForSuperClass(clsB).contains(ax));
assertTrue(ont.getAxioms(clsA, EXCLUDED).contains(ax));
assertTrue(sup(ont.filterAxioms(subClassWithSub, clsA, INCLUDED))