RegionMapPut extends AbstractRegionMapPut { @Override protected boolean isOnlyExisting() { return onlyExisting; } RegionMapPut(FocusedRegionMap focusedRegionMap, InternalRegion owner,
      CacheModificationLock cacheModificationLock, EntryEventSerialization entryEventSerialization,
      EntryEventImpl event, boolean ifNew, boolean ifOld, boolean overwriteDestroyed,
      boolean requireOldValue, Object expectedOldValue);   }
@Test public void onlyExistingDefaultsToFalse() { createInstance(); assertThat(instance.isOnlyExisting()).isFalse(); }
@Test public void onlyExistingIsTrueIfOld() { ifOld = true; createInstance(); assertThat(instance.isOnlyExisting()).isTrue(); }
@Test public void onlyExistingIsFalseIfOldAndReplaceOnClient() { ifOld = true; givenReplaceOnClient(); createInstance(); assertThat(instance.isOnlyExisting()).isFalse(); }