@Test
public void testStreamConstructor() throws Exception {

    InputStream stream = new FileInputStream(testFile);
    Ontology ontology = new SimpleOntology(stream, ontologyManager, transformer, bNodeService, repositoryManager, true, threadPool);
    assertEquals(ontologyIRI, ontology.getOntologyId().getOntologyIRI().get());
    assertEquals(versionIRI, ontology.getOntologyId().getVersionIRI().get());
}