@Test
  public void startShutdownTest() 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.start();
    server.shutdown();
    server.awaitShutdown();
  }
Tests {@link RestServer#start()} and {@link RestServer#shutdown()}.
@throws Exception
ambry-rest/src/test/java/com/github/ambry/rest/RestServerTest.java