@Test
  public void serverCreationWithBadInputTest() throws Exception {
    badArgumentsTest();
    badFactoriesTest();
  }
Tests for correct exceptions thrown on {@link RestServer} instantiation/{@link RestServer#start()} with bad input.
@throws Exception
@throws IOException
ambry-rest/src/test/java/com/github/ambry/rest/RestServerTest.java