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