@Test
public void newFixedThreadPool1() throws Exception {

    BlockingQueue<Runnable> queue = new SynchronousQueue<Runnable>();
    ThreadPoolExecutor executor = ThreadPoolUtils.newFixedThreadPool(10, queue);
    Assert.assertEquals(executor.getCorePoolSize(), 10);
    Assert.assertEquals(executor.getMaximumPoolSize(), 10);
    Assert.assertEquals(executor.getQueue(), queue);
}