fail("Found annotation that has not yet been created");
} catch (IllegalArgumentException e) {
// OK
}
new Token(jcas, 0, 1).addToIndexes();
selectSingle(jcas, Token.class);
new Token(jcas, 1, 2).addToIndexes();
try {
selectSingle(jcas, Token.class);
fail("selectSingle must fail if there is more than one annotation of the type");
} catch (IllegalArgumentException e) {