// process(CAS,ResultSpecification)
ResultSpecification resultSpec = new ResultSpecification_impl();
resultSpec.addResultType("NamedEntity", true);
tcas.setDocumentText("testing...");
tae.process(tcas, resultSpec);
assertEquals("testing...", TestAnnotator.lastDocument);
assertEquals(resultSpec, TestAnnotator.lastResultSpec);
tcas.reset();
tae.destroy();
}