BuilderDataPropertyRange builder = new BuilderDataPropertyRange(df)
.withProperty(dp).withRange(d).withAnnotations(annotations);
OWLObject expected = df
.getOWLDataPropertyRangeAxiom(dp, d, annotations);
// when
OWLObject built = builder.buildObject();
// then
assertEquals(expected, built);
}
@Test