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