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