@Test
public void readsMaxCacheFromConfiguration() throws Exception {

    final EverrestConfiguration configuration = new EverrestConfiguration();
    configuration.setAsynchronousCacheSize(123);
    asynchronousJobPool = new AsynchronousJobPool(configuration);
    assertEquals(123, asynchronousJobPool.getMaxCacheSize());
}