OWLOntology o = createOnto();
OWLOntologyManager m = o.getOWLOntologyManager();
OWLNamedIndividual i = NamedIndividual(IRI("urn:test#i"));
declare(o, OP, i);
m.addAxiom(o, ClassAssertion(ObjectSomeValuesFrom(OP, OWLThing()), i));
OWL2QLProfile profile = new OWL2QLProfile();
int expected = 1;
Class[] expectedViolations = { UseOfNonAtomicClassExpression.class };
runAssert(o, profile, expected, expectedViolations);
}