OWLOntology o = createOnto();
OWLOntologyManager m = o.getOWLOntologyManager();
declare(o, OP, CL);
m.addAxiom(o, TransitiveObjectProperty(OP));
m.addAxiom(o, SubClassOf(CL, ObjectMinCardinality(1, OP, OWLThing())));
OWL2DLProfile profile = new OWL2DLProfile();
int expected = 1;
Class[] expectedViolations = { UseOfNonSimplePropertyInCardinalityRestriction.class };
runAssert(o, profile, expected, expectedViolations);
}