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