OWLOntologyManager m = o.getOWLOntologyManager();
declare(o, Integer(), Boolean(), FAKEDATATYPE);
m.addAxiom(o, DatatypeDefinition(Boolean(), Integer()));
m.addAxiom(o, DatatypeDefinition(FAKEDATATYPE, Integer()));
m.addAxiom(o, DatatypeDefinition(Integer(), FAKEDATATYPE));
OWL2DLProfile profile = new OWL2DLProfile();
int expected = 4;
Class[] expectedViolations = { CycleInDatatypeDefinition.class,
CycleInDatatypeDefinition.class,
UseOfBuiltInDatatypeInDatatypeDefinition.class,
UseOfBuiltInDatatypeInDatatypeDefinition.class };