@Test
public void testGetScheduledPool() {

    ThreadPoolExecutor result = (ThreadPoolExecutor) ThreadPoolManager.getScheduledPool("test1");
    assertThat(result, instanceOf(ScheduledExecutorService.class));
    assertTrue(result.allowsCoreThreadTimeOut());
    assertEquals(ThreadPoolManager.THREAD_TIMEOUT, result.getKeepAliveTime(TimeUnit.SECONDS));
    assertEquals(ThreadPoolManager.DEFAULT_THREAD_POOL_SIZE, result.getCorePoolSize());
}