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

    createCacheInVMs(nyPort, vm2);
    vm2.invoke(() -> {
      createPartitionedRegion(getTestMethodName() + "_PR", null, 1, 10, isOffHeap());
      createReceiver();
    });

    createCacheInVMs(lnPort, vm4, vm5, vm6, vm7);
    asList(vm4, vm5, vm6, vm7).forEach(vm -> vm.invoke(() -> {
      createSender("ln", 2, true, 100, 10, false, false, null, true);
      createPartitionedRegion(getTestMethodName() + "_PR", null, 1, 10, isOffHeap());
    }));
    startSenderInVMs("ln", vm4, vm5, vm6, vm7);

    asList(vm4, vm5, vm6, vm7).forEach(vm -> vm.invoke(() -> {
      addSenderThroughAttributesMutator(getTestMethodName() + "_PR", "ln");
    }));

    vm4.invoke(() -> doPuts(getTestMethodName() + "_PR", 10));
    vm2.invoke(() -> validateRegionSize(getTestMethodName() + "_PR", 10));
  }
Two VMs are part of the DS. One VM hosts a cache server while the other hosts a Receiver.
Expected: Cache.getCacheServers should only return the bridge server and not the Receiver.
geode-wan/src/distributedTest/java/org/apache/geode/internal/cache/wan/misc/WanValidationsDUnitTest.java