public class DataUnionOfTestCase extends AbstractFileRoundTrippingTestCase {
@Test
public void testCorrectAxioms() {
Set<OWLAxiom> axioms = new HashSet<>();
OWLDataRange intdr = Integer();
OWLDataRange floatdr = Float();
OWLDataRange union = DataUnionOf(intdr, floatdr);
OWLDataProperty p = DataProperty(iri("p"));
OWLDataPropertyRangeAxiom ax = DataPropertyRange(p, union);
axioms.add(ax);
axioms.add(Declaration(p));
assertEquals(getOnt().getAxioms(), axioms);