BuilderDataPropertyDomain builder = new BuilderDataPropertyDomain(df)
.withProperty(dp).withDomain(ce).withAnnotations(annotations);
OWLObject expected = df.getOWLDataPropertyDomainAxiom(dp, ce,
annotations);
// when
OWLObject built = builder.buildObject();
// then
assertEquals(expected, built);
}
@Test