BaleenAnnotator extends JCasAnnotator_ImplBase { public void doInitialize(UimaContext aContext) throws ResourceInitializationException { }  @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 testDoInitialize() throws ResourceInitializationException { FakeBaleenAnnotator annotator = new FakeBaleenAnnotator(); annotator.initialize(context); assertTrue(annotator.initialised); }