tcas.setDocumentText("testing...");
tae.process(tcas, resultSpec);
assertEquals("testing...", TestAnnotator.lastDocument);
assertEquals(resultSpec, TestAnnotator.lastResultSpec);
tcas.reset();
tae.destroy();
}
public void testReconfigure() throws Exception {
try {
// create simple primitive TextAnalysisEngine descriptor (using TestAnnotator class)