If the exit on shutdown flag is true, then {@link #exit()} is called, else only the shutdown hook is run. @throws IllegalStateException No started.
5859606162636465666768
// Startup and shutdown try { server.start(); server.shutdown(); } catch (Exception e) { e.printStackTrace(); TestCase.fail("Startup/shutdown sequence without proper configuration should be clean, got exception: " + e);