@Test
public void readsPoolSizeFromConfiguration() throws Exception {

    final EverrestConfiguration configuration = new EverrestConfiguration();
    configuration.setAsynchronousPoolSize(111);
    asynchronousJobPool = new AsynchronousJobPool(configuration);
    assertEquals(111, asynchronousJobPool.getThreadPoolSize());
}