public class PooledWorkManagerTest extends TestCase {
private GeronimoWorkManager workManager;
protected void setUp() throws Exception {
TransactionContextManager transactionContextManager = new TransactionContextManager();
ThreadPool pool = new ThreadPool(1, "Connector Test", 30000, ThreadPool.class.getClassLoader(), "foo:test=bar");
pool.setWaitWhenBlocked(true);
workManager = new GeronimoWorkManager(pool, pool, pool, transactionContextManager);
workManager.doStart();
}