@Test
public void shouldBuildDataPropertyRange()
throws OWLOntologyCreationException {
// given
BuilderDataPropertyRange builder = new BuilderDataPropertyRange(df)
.withProperty(dp).withRange(d).withAnnotations(annotations);
OWLAxiom expected = df.getOWLDataPropertyRangeAxiom(dp, d, annotations);
OWLOntology o = m.createOntology();
// when
builder.applyChanges(o);
// then
assertTrue(o.containsAxiom(expected));
}