@Test
  public void shutdownWithoutStartTest() throws Exception {
    Properties properties = new Properties();
    VerifiableProperties verifiableProperties = getVProps(properties);
    ClusterMap clusterMap = new MockClusterMap();
    NotificationSystem notificationSystem = new LoggingNotificationSystem();

    RestServer server = new RestServer(verifiableProperties, clusterMap, notificationSystem, SSL_FACTORY);
    server.shutdown();
    server.awaitShutdown();
  }
Tests for {@link RestServer#shutdown()} when {@link RestServer#start()} had not been called previously. This test
is for cases where {@link RestServer#start()} has failed and {@link RestServer#shutdown()} needs to be run.
@throws Exception
ambry-rest/src/test/java/com/github/ambry/rest/RestServerTest.java