@Test
public void annotationsAreCorrectForNonemptyOntology() throws Exception {

    // Behaviors
    when(SimpleOntologyValues.mobiAnnotation(any(OWLAnnotation.class))).thenReturn(mock(Annotation.class));
    // Setup
    InputStream stream = new FileInputStream(testFile);
    Ontology ontology = new SimpleOntology(stream, ontologyManager, transformer, bNodeService, repositoryManager, true, threadPool);
    // Test
    Set<Annotation> annotations = ontology.getOntologyAnnotations();
    // Assertions
    assertEquals(1, annotations.size());
}