public void testDisjointObjectPropertiesAxiomAccessors() {
OWLOntology ont = getOWLOntology("ont");
OWLObjectProperty propP = ObjectProperty(iri("p"));
OWLObjectProperty propQ = ObjectProperty(iri("q"));
OWLObjectProperty propR = ObjectProperty(iri("r"));
OWLOntologyManager man = ont.getOWLOntologyManager();
OWLDisjointObjectPropertiesAxiom ax = DisjointObjectProperties(propP,
propQ, propR);
man.addAxiom(ont, ax);
performAxiomTests(ont, ax);
assertTrue(ont.getDisjointObjectPropertiesAxioms(propP).contains(ax));
assertTrue(ont.getDisjointObjectPropertiesAxioms(propQ).contains(ax));
assertTrue(ont.getDisjointObjectPropertiesAxioms(propR).contains(ax));
assertTrue(ont.getAxioms(propP, EXCLUDED).contains(ax));