### Question:
GeneralDataMemcachedRegion extends MemcachedRegion implements GeneralDataRegion { @Override public void evict(Object key) throws CacheException { String refinedKey = refineKey(key); log.debug("Cache evict[{}] : key[{}]", getCacheNamespace(), refinedKey); try { getMemcachedAdapter().delete(getCacheNamespace(), refinedKey); } catch (Exception ex) { log.warn("Failed to delete memcached value.", ex); } } GeneralDataMemcachedRegion(CacheNamespace cacheNamespace, OverridableReadOnlyProperties properties, CacheDataDescription metadata,
                                      Settings settings, MemcachedAdapter memcachedAdapter, HibernateCacheTimestamper hibernateCacheTimestamper); @Override Object get(Object key); @Override void put(Object key, Object value); @Override void evict(Object key); @Override void evictAll();  }### Answer:
@Test public void evict() throws Exception { givenRegionWithDefaultProperties(); String key = "books#1"; generalDataMemcachedRegion.evict(key); verify(memcachedAdapter).delete(cacheNamespace, refineKey(key)); }