@Test
public void testOwlapiAnnotation() throws Exception {

    Annotation anno = mock(Annotation.class);
    AnnotationProperty property = mock(AnnotationProperty.class);
    OWLAnnotationProperty owlProperty = mock(OWLAnnotationProperty.class);
    IRI value = mock(IRI.class);
    org.semanticweb.owlapi.model.IRI owlIRI = mock(org.semanticweb.owlapi.model.IRI.class);
    expect(anno.getProperty()).andReturn(property);
    expect(anno.getValue()).andReturn(value).anyTimes();
    
    mockStaticPartial(SimpleOntologyValues.class, "owlapiAnnotationProperty", "owlapiIRI");
    expect(SimpleOntologyValues.owlapiAnnotationProperty(property)).andReturn(owlProperty).anyTimes();
    expect(SimpleOntologyValues.owlapiIRI(value)).andReturn(owlIRI).anyTimes();
    
    replay(anno, property, owlProperty, value,owlIRI, SimpleOntologyValues.class);
    
    assertEquals(0, SimpleOntologyValues.owlapiAnnotation(anno).annotations().count());
}