ThreadsProcessingItemInstance { public void processEvent(ContentEvent event) { this.processor.process(event); } ThreadsProcessingItemInstance(Processor processor, int threadIndex); int getThreadIndex(); Processor getProcessor(); void processEvent(ContentEvent event);  }
@Test public void testProcessEvent() { piInstance.processEvent(event); new Verifications() { { processor.process(event); times=1; } }; }