void continueProcessing() {
      lock.lock();
      testGate.signalAll();
      signalled = true;
      lock.unlock();
    }
This test sets up a TestConnection which will register with the ClientHealthMonitor and then
block waiting to receive a fake message. This message will arrive just after the health monitor
times out this connection and kills it. The test then makes sure that the connection correctly
handles the terminated state and exits.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/tier/sockets/ServerConnectionIntegrationTest.java