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