c = cm.getCacheConfiguration("evictionCache");
assertEquals(5000, c.eviction().maxEntries());
assertEquals(EvictionStrategy.LRU, c.eviction().strategy());
assertEquals(60000, c.expiration().lifespan());
assertEquals(1000, c.expiration().maxIdle());
assertEquals(EvictionThreadPolicy.PIGGYBACK, c.eviction().threadPolicy());
assertEquals(500, c.expiration().wakeUpInterval());
c = cm.getCacheConfiguration("withDeadlockDetection");
assertTrue(c.deadlockDetection().enabled());