@Test
  public void testThreadIsNotStuck() {
    threadsMonitoringImpl = new ThreadsMonitoringImpl(null, 100000, TIME_LIMIT_MILLIS);

    threadsMonitoringImpl.startMonitor(Mode.PooledExecutor);

    assertFalse(threadsMonitoringImpl.getThreadsMonitoringProcess().mapValidation());
  }
Tests that indeed thread is NOT considered stuck when it shouldn't
geode-core/src/test/java/org/apache/geode/internal/monitoring/ThreadsMonitoringImplTest.java