RegionMapCommitPut extends AbstractRegionMapPut { boolean isRemoteOrigin() { return remoteOrigin; } RegionMapCommitPut(FocusedRegionMap focusedRegionMap, InternalRegion owner,
      @Released EntryEventImpl callbackEvent, Operation putOp, boolean didDestroy,
      TransactionId txId, TXRmtEvent txEvent, List<EntryEventImpl> pendingCallbacks,
      TXEntryState txEntryState);   }
@Test public void localCreateIsNotRemoteOrigin() { createInstance(Operation.CREATE, false, null, localTxEntryState); assertThat(instance.isRemoteOrigin()).isFalse(); }
@Test public void remoteCreateIsRemoteOrigin() { when(transactionId.getMemberId()).thenReturn(remoteId); createInstance(Operation.CREATE, false, txRmtEvent, null); assertThat(instance.isRemoteOrigin()).isTrue(); }