RegionMapPut extends AbstractRegionMapPut { boolean isRetrieveOldValueForDelta() { return retrieveOldValueForDelta; } RegionMapPut(FocusedRegionMap focusedRegionMap, InternalRegion owner,
      CacheModificationLock cacheModificationLock, EntryEventSerialization entryEventSerialization,
      EntryEventImpl event, boolean ifNew, boolean ifOld, boolean overwriteDestroyed,
      boolean requireOldValue, Object expectedOldValue);   }
@Test public void retrieveOldValueForDeltaDefaultToFalse() { createInstance(); assertThat(instance.isRetrieveOldValueForDelta()).isFalse(); }
@Test public void retrieveOldValueForDeltaTrueIfEventHasDeltaBytes() { when(event.getDeltaBytes()).thenReturn(new byte[1]); createInstance(); assertThat(instance.isRetrieveOldValueForDelta()).isTrue(); }
@Test public void retrieveOldValueForDeltaFalseIfEventHasDeltaBytesAndRawNewValue() { when(event.getDeltaBytes()).thenReturn(new byte[1]); when(event.getRawNewValue()).thenReturn(new Object()); createInstance(); assertThat(instance.isRetrieveOldValueForDelta()).isFalse(); }