@Test
public void getObjectPropertyRangeWithNonClassTest() throws Exception {

    // Setup:
    ObjectProperty objectProperty = new SimpleObjectProperty(objectProp2IRI);
    Set<Resource> ranges = ontology.getObjectPropertyRange(objectProperty);
    assertEquals(1, ranges.size());
}