public static HttpServerResponse create(@Nullable HttpServletRequest request,
    HttpServletResponse response, @Nullable Throwable caught) {
    return new HttpServletResponseWrapper(request, response, caught);
  }
@Test void method_isRequestMethod() {
    HttpServerResponse wrapper = HttpServletResponseWrapper.create(request, response, null);

    when(request.getMethod()).thenReturn("POST");

    assertThat(wrapper.method()).isEqualTo("POST");
  }