@Test
  public void testGetStatMonitorHandler() {
    StatMonitorHandler handler = SampleCollector.getStatMonitorHandler();
    assertNotNull(handler);
    assertTrue(handler.getMonitorsSnapshot().isEmpty());
    assertNull(handler.getStatMonitorNotifier());
  }
Unit tests for {@link SampleCollector}.

@since GemFire 7.0
geode-core/src/test/java/org/apache/geode/internal/statistics/SampleCollectorTest.java