public void testParsedAxioms() throws OWLOntologyCreationException {
OWLOntology ontology = createOntology();
Set<OWLSubClassOfAxiom> axioms = ontology
.getAxioms(AxiomType.SUBCLASS_OF);
assertEquals(1, axioms.size());
OWLSubClassOfAxiom ax = axioms.iterator().next();
OWLClass subCls = Class(SUBCLASS_IRI);
assertEquals(subCls, ax.getSubClass());
OWLClassExpression supCls = ax.getSuperClass();
assertTrue(supCls instanceof OWLObjectSomeValuesFrom);
OWLObjectSomeValuesFrom someValuesFrom = (OWLObjectSomeValuesFrom) supCls;
OWLObjectProperty property = ObjectProperty(PROPERTY_IRI);
OWLClass fillerCls = Class(FILLER_IRI);
assertEquals(property, someValuesFrom.getProperty());