@Test
public void shouldBuildEquivalentClasses()
throws OWLOntologyCreationException {
// given
BuilderEquivalentClasses builder = new BuilderEquivalentClasses(df)
.withItems(classes).withAnnotations(annotations);
OWLAxiom expected = df.getOWLEquivalentClassesAxiom(classes,
annotations);
OWLOntology o = m.createOntology();
// when
builder.applyChanges(o);
// then
assertTrue(o.containsAxiom(expected));
}