BuilderDisjointClasses builder = new BuilderDisjointClasses(df)
.withItem(ce).withItem(df.getOWLClass(iri));
OWLObject expected = df.getOWLDisjointClassesAxiom(ce,
df.getOWLClass(iri));
// when
OWLObject built = builder.buildObject();
// then
assertEquals(expected, built);
}
@Test