protected static void waitForStatSample(final Statistics statSamplerStats, final int samples,
      final long millis, final long sleep) {
    waitForExpectedStatValue(statSamplerStats, "sampleCount", samples, millis, sleep);
  }
Integration TestCase for StatSampler.

@since GemFire 7.0
geode-junit/src/main/java/org/apache/geode/internal/statistics/StatSamplerTestCase.java