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