@Test
public void testDefaultExpiration() throws Exception {
remoteCache.put("Key", "Value");
InternalCacheEntry entry = assertHotRodEquals(cacheManager, "Key", "Value");
assertTrue(entry.canExpire());
assertEquals(3000, entry.getLifespan());
assertEquals(2000, entry.getMaxIdle());
Thread.sleep(5000);
assertFalse(remoteCache.containsKey("Key"));
}