BuilderClassAssertion builder = new BuilderClassAssertion(df)
.withClass(ce).withIndividual(i).withAnnotations(annotations);
OWLAxiom expected = df.getOWLClassAssertionAxiom(ce, i, annotations);
OWLOntology o = m.createOntology();
// when
builder.applyChanges(o);
// then
assertTrue(o.containsAxiom(expected));
}
@Test