@Test
public void shouldBuildSubDataProperty()
throws OWLOntologyCreationException {
// given
BuilderSubDataProperty builder = new BuilderSubDataProperty(df)
.withSub(dp).withSup(df.getOWLTopDataProperty());
OWLAxiom expected = df.getOWLSubDataPropertyOfAxiom(dp,
df.getOWLTopDataProperty());
OWLOntology o = m.createOntology();
// when
builder.applyChanges(o);
// then
assertTrue(o.containsAxiom(expected));
}