@Test
public void shouldBuildIrreflexiveObjectProperty()
throws OWLOntologyCreationException {
// given
BuilderIrreflexiveObjectProperty builder = new BuilderIrreflexiveObjectProperty(
df).withProperty(op).withAnnotations(annotations);
OWLAxiom expected = df.getOWLIrreflexiveObjectPropertyAxiom(op,
annotations);
OWLOntology o = m.createOntology();
// when
builder.applyChanges(o);
// then
assertTrue(o.containsAxiom(expected));
}