private void validateOverflowStats(final VM vm, final String vmName) {
    long[] overflowStats = vm.invoke(this::getOverflowStats);
    long[] overflowEntries = vm.invoke(this::getActualOverflowEntries);

    long statEntriesInVM = overflowStats[0];
    long statEntriesOnDisk = overflowStats[1];
    long actualEntriesInVM = overflowEntries[0];
    long actualEntriesOnDisk = overflowEntries[1];

    assertThat(actualEntriesInVM).as("entriesInVM for " + vmName).isEqualTo(statEntriesInVM);
    assertThat(actualEntriesOnDisk).as("entriesOnDisk for " + vmName).isEqualTo(statEntriesOnDisk);
  }
Validate that the overflow stats are as expected on the given member.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/BucketRebalanceStatRegressionTest.java