}
@Test
public void shouldBuildSubClass() {
// given
BuilderSubClass builder = new BuilderSubClass(df)
.withAnnotations(annotations).withSub(ce)
.withSup(df.getOWLThing());
OWLObject expected = df.getOWLSubClassOfAxiom(ce, df.getOWLThing(),
annotations);
// when
OWLObject built = builder.buildObject();
// then
assertEquals(expected, built);
}