@Test
public void testGetCachedPool() {

    ExecutorService result = ThreadPoolManager.getPool("test2");
    assertThat(result, instanceOf(ExecutorService.class));
    ThreadPoolExecutor tpe = (ThreadPoolExecutor) result;
    assertTrue(tpe.allowsCoreThreadTimeOut());
    assertEquals(ThreadPoolManager.THREAD_TIMEOUT, tpe.getKeepAliveTime(TimeUnit.SECONDS));
    assertEquals(ThreadPoolManager.DEFAULT_THREAD_POOL_SIZE, tpe.getMaximumPoolSize());
}