ThreadsEventRunnable implements Runnable { @Override public void run() { try { workerPi.processEvent(event); } catch (Exception e) { e.printStackTrace(); } } ThreadsEventRunnable(ThreadsProcessingItemInstance workerPi, ContentEvent event); ThreadsProcessingItemInstance getWorkerProcessingItem(); ContentEvent getContentEvent(); @Override void run();  }
@Test public void testRun() { task.run(); new Verifications () { { piInstance.processEvent(event); times=1; } }; }