}
@Test
public void shouldBuildDeclaration() {
// given
BuilderDeclaration builder = new BuilderDeclaration(df).withEntity(ce)
.withAnnotations(annotations);
OWLObject expected = df.getOWLDeclarationAxiom(ce, annotations);
// when
OWLObject built = builder.buildObject();
// then
assertEquals(expected, built);
}