BaleenResource extends Resource_ImplBase { protected UimaMonitor getMonitor() { return monitor; }  @Override final boolean initialize(ResourceSpecifier specifier, Map<String, Object> additionalParams); @Override final void destroy();  }
@Test public void testGetMonitor() throws ResourceInitializationException { FakeBaleenResource annotator = new FakeBaleenResource(true); annotator.initialize(specifier, Maps.newHashMap()); assertNotNull(annotator.getMonitor()); }