sentence = (Sentence) sentences.next();
assertEquals("We could fly it to the moon for repairs.", sentence.getCoveredText());
FSIndex<Annotation> tokenIndex = jCas.getAnnotationIndex(Token.type);
assertEquals(21, tokenIndex.size());
Token token = JCasUtil.selectByIndex(jCas, Token.class, 0);
testToken(token, "What", 0, 4, "A", null);
token = JCasUtil.selectByIndex(jCas, Token.class, 1);
testToken(token, "if", 5, 7, "B", null);
token = JCasUtil.selectByIndex(jCas, Token.class, 9);
testToken(token, "cheese", 39, 45, "J", null);