public void testIsKeyInCache() {
Cache cache = new EhCacheBasedCache("sampleCache");
cache.put("KEY1", "ABC");
assertTrue(cache.containsKey("KEY1"));
cache.remove("KEY1");
assertTrue(!cache.containsKey("KEY1"));
}
@Test
public void testExpiredCache() throws InterruptedException {
Cache cache = new EhCacheBasedCache("sampleCache");