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