protected void sample() throws InterruptedException {
    system.getStatSampler().getSampleCollector().sample(NanoTimer.getTime());
    Thread.sleep(SLEEP);
  }
Base test case for the management.bean.stats tests.

@since GemFire 7.0
geode-junit/src/main/java/org/apache/geode/management/bean/stats/MBeanStatsTestCase.java