@Test
  public void replicateRegionCreationShouldFailWhenSerialGatewaySenderIdsAreDifferentAcrossMembers() {
    Integer lnPort = vm0.invoke(() -> createFirstLocatorWithDSId(1));
    vm1.invoke(() -> createFirstRemoteLocator(2, lnPort));

    createCacheInVMs(lnPort, vm4, vm5);

    vm4.invoke(() -> {
      createSender("ln1", 2, false, 10, 100, false, false, null, true);
      createSender("ln2", 2, false, 10, 100, false, false, null, true);
    });

    vm5.invoke(() -> {
      createSender("ln2", 2, false, 10, 100, false, false, null, true);
      createSender("ln3", 2, false, 10, 100, false, false, null, true);
    });

    vm4.invoke(() -> createReplicatedRegion(getTestMethodName() + "_RR", "ln1,ln2", isOffHeap()));

    vm5.invoke(() -> {
      assertThatThrownBy(
          () -> createReplicatedRegion(getTestMethodName() + "_RR", "ln2,ln3", isOffHeap()))
              .isInstanceOf(IllegalStateException.class)
              .hasMessageContaining("Cannot create Region");
    });
  }
Test to make sure that serial sender Ids configured in Distributed Region is same across all DR
nodes TODO : Should this validation hold tru now. Discuss. If I have 2 members on Which DR is
defined. But sender is defined on only one member. How can I add the instance on the sender in
Region which does not have a sender. I can bypass the existing validation for the DR with
SerialGatewaySender. But for PR with SerialGatewaySender, we need to send the adjunct message.
Find out the way to send the adjunct message to the member on which serialGatewaySender is
available.
geode-wan/src/distributedTest/java/org/apache/geode/internal/cache/wan/misc/WanValidationsDUnitTest.java