} catch (InterruptedException ie) { }
}
});
}
// First, add two threads and make sure the pool size follows
pool.submit(threads.get(0));
assertEquals(1, pool.getPoolSize());
pool.submit(threads.get(1));
assertEquals(2, pool.getPoolSize());
// Next, terminate those threads and then make sure the pool is still the