public void shouldBuildDataPropertyAssertion() {
// given
BuilderDataPropertyAssertion builder = new BuilderDataPropertyAssertion(
df).withProperty(dp).withSubject(i).withValue(lit)
.withAnnotations(annotations);
OWLObject expected = df.getOWLDataPropertyAssertionAxiom(dp, i, lit,
annotations);
// when
OWLObject built = builder.buildObject();
// then
assertEquals(expected, built);
}