public EvictionConfig getEvictionConfig() {
        return evictionConfig;
    }
@Test(expected = IllegalArgumentException.class)
    public void testMaxSize_whenValueIsNegative_thenThrowException() {
        config.getEvictionConfig().setSize(-1);
    }