private void doConstructionFailureTest(VerifiableProperties verifiableProperties, MetricRegistry metricRegistry,
      RestRequestHandler restRequestHandler, PublicAccessLogger publicAccessLogger, RestServerState restServerState,
      SSLFactory sslFactory) throws Exception {
    try {
      new FrontendNettyFactory(verifiableProperties, metricRegistry, restRequestHandler, publicAccessLogger,
          restServerState, sslFactory, null);
      fail("Instantiation should have failed");
    } catch (IllegalArgumentException e) {
      // expected. Nothing to do.
    }
  }
Test that {@link FrontendNettyFactory} construction fails with the given constructor inputs.
@param verifiableProperties the {@link VerifiableProperties} to use.
@param metricRegistry the {@link MetricRegistry} to use.
@param restRequestHandler the {@link RestRequestHandler} to use.
@param publicAccessLogger the {@link PublicAccessLogger} to use.
@param restServerState the {@link RestServerState} to use.
@param sslFactory the {@link SSLFactory} to use.
ambry-rest/src/test/java/com/github/ambry/rest/FrontendNettyFactoryTest.java