private void doRequestHandleWithoutKeepAlive(HttpMethod httpMethod, RestMethod restMethod) throws IOException {
    EmbeddedChannel channel = createChannel();
    sendRequestCheckResponse(channel, httpMethod, restMethod, false);
    assertFalse("Channel not closed", channel.isOpen());
  }
Does a test to see that request handling with good input succeeds when channel is not keep alive.
@param httpMethod the {@link HttpMethod} for the request.
@param restMethod the equivalent {@link RestMethod} for {@code httpMethod}. Used to check for correctness of
                  response.
@throws IOException
ambry-rest/src/test/java/com/github/ambry/rest/NettyMessageProcessorTest.java