@Test public void method_isRequestMethod() {

  HttpServerResponse wrapper = HttpServletResponseWrapper.create(request, response, null);
  when(request.getMethod()).thenReturn("POST");
  assertThat(wrapper.method()).isEqualTo("POST");
}