@Test
void requestToShouldIgnoreQueryParameters() {

    final Predicate<HttpRequest> unit = requestTo("http://localhost/*");
    final MockHttpRequest request = MockHttpRequest.create()
            .withQuery("location=/bar");
    assertThat(unit.test(request), is(true));
}