Assert.assertEquals("is", ((AnnotationFS) anIter.next()).getCoveredText());
if ("is".equals(((AnnotationFS) anIter.get()).getCoveredText()))
anIter.moveToNext();
Assert.assertEquals("good", ((AnnotationFS) anIter.next()).getCoveredText());
if (anIter.isValid() && "good".equals(((AnnotationFS) anIter.get()).getCoveredText()))
anIter.moveToNext();
Assert.assertFalse(anIter.hasNext());
// print out annotations of the transalation SofA
// System.out.println("\n----------------\n");
CAS germanView = cas.getView("TranslatedDocument");