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