### Question:
NonstrictReadWriteEntityRegionAccessStrategy extends BaseEntityMemcachedRegionAccessStrategy { @Override public boolean afterUpdate(Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock) throws CacheException { log.debug("region access strategy nonstrict-read-write entity afterUpdate() {} {}", getInternalRegion().getCacheNamespace(), key); getInternalRegion().evict(key); return false; } NonstrictReadWriteEntityRegionAccessStrategy(EntityMemcachedRegion entityMemcachedRegion); @Override boolean insert(Object key, Object value, Object version); @Override boolean afterInsert(Object key, Object value, Object version); @Override boolean update(Object key, Object value, Object currentVersion, Object previousVersion); @Override boolean afterUpdate(Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock);  }### Answer:
@Test public void afterUpdate() throws Exception { assertThat(nonstrictReadWriteEntityRegionAccessStrategy.afterUpdate("key", "value", "currentVersion", "previousVersion", null)).isFalse(); verify(entityMemcachedRegion).evict("key"); }