taskManager.enqueue( action );
taskManager.enqueue( action );
taskManager.enqueue( action );
// executes all pending actions using current thread
service.waitUntilEmpty();
pool.shutdown();
// check expectations
verify( action, times(5) ).execute(workingMemory);
}