BuilderObjectPropertyRange builder = new BuilderObjectPropertyRange(df)
.withProperty(op).withRange(ce).withAnnotations(annotations);
OWLObject expected = df.getOWLObjectPropertyRangeAxiom(op, ce,
annotations);
// when
OWLObject built = builder.buildObject();
// then
assertEquals(expected, built);
}
@Test