@Test
public void readsQueueSizeFromConfiguration() throws Exception {

    final EverrestConfiguration configuration = new EverrestConfiguration();
    configuration.setAsynchronousQueueSize(555);
    asynchronousJobPool = new AsynchronousJobPool(configuration);
    assertEquals(555, asynchronousJobPool.getMaxQueueSize());
}