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

    when(request.getAttribute("http.route")).thenReturn(new Object());

    assertThat(wrapper.route()).isNull();
  }