//Test equals method for same annotation obtained through different views
assertEquals(engAnnot, crossAnnot);
// Test that annotations accessed from a reference in the base CAS
// work correctly
ArrayFS anArray =this.cas.createArrayFS(3);
anArray.set(0, engAnnot);
anArray.set(1, frAnnot);
anArray.set(2, gerAnnot);
AnnotationFS tstAnnot = (AnnotationFS) anArray.get(0);
assertTrue(("this").equals(tstAnnot.getCoveredText()));
tstAnnot = (AnnotationFS) anArray.get(1);
assertTrue(("cette").equals(tstAnnot.getCoveredText()));
tstAnnot = (AnnotationFS) anArray.get(2);
assertTrue(("das").equals(tstAnnot.getCoveredText()));
} catch (Exception e) {
JUnitExtension.handleException(e);
}