@Test
public void shouldBuildSubAnnotationPropertyOf()
throws OWLOntologyCreationException {
// given
BuilderSubAnnotationPropertyOf builder = new BuilderSubAnnotationPropertyOf(
df).withSub(ap).withSup(df.getRDFSLabel())
.withAnnotations(annotations);
OWLAxiom expected = df.getOWLSubAnnotationPropertyOfAxiom(ap,
df.getRDFSLabel(), annotations);
OWLOntology o = m.createOntology();
// when
builder.applyChanges(o);
// then
assertTrue(o.containsAxiom(expected));
}