### Question:
GeneralDataMemcachedRegion extends MemcachedRegion implements GeneralDataRegion { @Override public void evictAll() throws CacheException { log.debug("Cache evictAll [{}].", getCacheNamespace()); try { getMemcachedAdapter().evictAll(getCacheNamespace()); } catch (Exception ex) { log.warn("Failed to evictAll.", 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 evictAll() throws Exception { givenRegionWithDefaultProperties(); generalDataMemcachedRegion.evictAll(); verify(memcachedAdapter).evictAll(cacheNamespace); }