BaleenAnnotator extends JCasAnnotator_ImplBase { protected UimaSupport getSupport() { return support; }  @Override void initialize(UimaContext context); void doInitialize(UimaContext aContext); @Override void process(JCas aJCas); @Override void destroy(); abstract AnalysisEngineAction getAction(); static final String KEY_HISTORY; }
@Test public void testGetSupport() throws ResourceInitializationException { FakeBaleenAnnotator annotator = new FakeBaleenAnnotator(); annotator.initialize(context); assertNotNull(annotator.getSupport()); assertEquals(PIPELINE_NAME, annotator.getSupport().getPipelineName()); }