@Test
public void getAllClassesNoImportsTest() throws Exception {

    // Setup:
    Set<String> expectedClasses = Stream.of("http://mobi.com/ontology/test-local-imports-1#Class0", "http://mobi.com/ontology/test-local-imports-1#Class1").collect(Collectors.toSet());
    Set<OClass> classes = ont1.getAllClasses();
    assertEquals(expectedClasses.size(), classes.size());
    classes.stream()
            .map(oClass -> oClass.getIRI().stringValue())
            .forEach(iri -> assertTrue(expectedClasses.contains(iri)));
}