protected boolean containsStatisticsType(String typeName) throws InterruptedException {
      for (StatisticsType statType : allStatistics.keySet()) {
        if (statType.getName().equals(typeName)) {
          return true;
        }
      }
      return false;
    }
Integration TestCase for StatSampler.

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