threadPool.setPoolSize(30);
threadPool.setKeepAliveTime(10000);
threadPool.setPoolName("TestPool");
threadPool.doStart();
WorkerPersistence workerPersistence = new VMWorkerPersistence();
timer = new ThreadPooledTimer(executableWorkFactory, workerPersistence, threadPool, transactionContextManager);
timer.doStart();
counter.set(0);
TransactionContext.setContext(null);
}