public static void validateRegionSize_PDX(String regionName, final int regionSize) {
    final Region<?, ?> r = cache.getRegion(SEPARATOR + regionName);
    await().untilAsserted(() -> {
      assertThat((regionSize <= r.keySet().size())).as(
          "Expected region entries: " + regionSize + " but actual entries: "
              + r.keySet().size() + " present region keyset " + r.keySet())
          .isEqualTo(true);
      assertThat((regionSize == r.size())).as(
          "Expected region size: " + regionSize + " but actual size: " + r.size()).isEqualTo(true);
    });
    for (int i = 0; i < regionSize; i++) {
      final int temp = i;
      await()
          .untilAsserted(() -> assertThat(r.get("Key_" + temp)).as(
              "keySet = " + r.keySet() + " values() = " + r.values() + "Region Size = " + r.size())
              .isEqualTo(new SimpleClass(temp, (byte) temp)));
    }
  }
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