@Test
public void shouldBuildObjectPropertyAssertion()
throws OWLOntologyCreationException {
// given
BuilderObjectPropertyAssertion builder = new BuilderObjectPropertyAssertion(
df).withProperty(op).withSubject(i).withValue(i)
.withAnnotations(annotations);
OWLAxiom expected = df.getOWLObjectPropertyAssertionAxiom(op, i, i,
annotations);
OWLOntology o = m.createOntology();
// when
builder.applyChanges(o);
// then
assertTrue(o.containsAxiom(expected));
}