for(int i=0; i<WORK_ITEMS; i++) {
pool.execute(new FakeWorkItem(SINGLE_WAIT));
}
pool.shutdown();
pool.awaitTermination(1000, TimeUnit.MILLISECONDS);
assertTrue(pool.isTerminated());
WorkerPoolStatisticsMetadata stats = pool.getStats();
assertEquals(10, stats.getTotalCompleted());
assertEquals("Expected threads to be maxed out", MAX_THREADS, stats.getHighestActiveThreads()); //$NON-NLS-1$