@Test
public void testEquals() throws Exception {

    InputStream stream1 = new FileInputStream(testFile);
    InputStream stream2 = new FileInputStream(testFile);
    Ontology ontology1 = new SimpleOntology(stream1, ontologyManager, transformer, bNodeService, repositoryManager, true, threadPool);
    Ontology ontology2 = new SimpleOntology(stream2, ontologyManager, transformer, bNodeService, repositoryManager, true, threadPool);
    assertEquals(ontology1, ontology2);
}