@Test public void test() { WorkerThread[] threads = createThreads(); startAll(threads); joinAll(threads); assertEquals(poolsize, pool.size()); }