public void checkEqualRegionData(String regionName, VM vm1, VM vm2,
      boolean concurrencyChecksEnabled) {
    assertThat(vm1.invoke(() -> getRegionSize(regionName)))
        .isEqualTo(vm2.invoke(() -> getRegionSize(regionName)));
    Map<?, ?> regionData1 = vm1.invoke(() -> getRegionData(regionName));
    Map<?, ?> regionData2 = vm2.invoke(() -> getRegionData(regionName));
    assertThat(regionData1).isEqualTo(regionData2);

    if (concurrencyChecksEnabled) {
      Map<?, ?> regionKeysTimestamps1 = vm1.invoke(() -> getKeysTimestamps(regionName));
      Map<?, ?> regionKeysTimestamps2 = vm2.invoke(() -> getKeysTimestamps(regionName));
      assertThat(regionKeysTimestamps1).isEqualTo(regionKeysTimestamps2);
    }
  }
To be used only for ParallelGatewaySender.

@param senderId Id of the ParallelGatewaySender
geode-wan/src/distributedTest/java/org/apache/geode/internal/cache/wan/WANTestBase.java