BuilderDeclaration builder = new BuilderDeclaration(df).withEntity(ce)
.withAnnotations(annotations);
OWLAxiom expected = df.getOWLDeclarationAxiom(ce, annotations);
OWLOntology o = m.createOntology();
// when
builder.applyChanges(o);
// then
assertTrue(o.containsAxiom(expected));
}
@Test