@Test
  public void allRestMethodsSuccessTest() throws Exception {
    for (int i = 0; i < 25; i++) {
      for (RestMethod restMethod : RestMethod.values()) {
        // PUT is not supported, so it always fails.
        if (restMethod != RestMethod.UNKNOWN && restMethod != RestMethod.PUT) {
          doHandleRequestSuccessTest(restMethod, asyncRequestResponseHandler);
        }
      }
    }
  }
Tests handling of all {@link RestMethod}s. The {@link MockRestRequestService} instance being used is
asked to only echo the method.
@throws Exception
ambry-rest/src/test/java/com/github/ambry/rest/AsyncRequestResponseHandlerTest.java