@Test public void url_derivedFromUrlAndQueryString() {

  when(request.getRequestURL()).thenReturn(new StringBuffer("http://foo:8080/bar"));
  when(request.getQueryString()).thenReturn("hello=world");
  assertThat(wrapper.url())
    .isEqualTo("http://foo:8080/bar?hello=world");
}