OWLAxiom expected = df.getOWLObjectPropertyDomainAxiom(op, ce,
annotations);
builder.withDomain(ce).withProperty(op).withAnnotations(annotations);
OWLOntology o = m.createOntology();
// when
builder.applyChanges(o);
// then
assertTrue(o.containsAxiom(expected));
}
@Test