@Test
public void testThatRerouteShouldSetRequestUriToServletAddress() throws URISyntaxException {

    //GIVEN
    URI expected = new URI("http://127.0.0.1:0/local/");
    //WHEN
    underTest.reroute(request);
    //THEN
    verify(request).setUri(expected);
}