private void assertNotLive(HttpServer server) {
    assertTrue("Server should not be live", !server.isAlive());
    assertToStringContains(server, HttpServer.STATE_DESCRIPTION_NOT_LIVE);
  }
Check that a server is alive by probing the {@link HttpServer#isAlive()} method and the text of
its toString() description
@param server server
hbase-http/src/test/java/org/apache/hadoop/hbase/http/TestHttpServerLifecycle.java