@Test
public void testCheckConditionShouldReturnTrueWhenRequestHasLocalhostNameUri() throws URISyntaxException {

    //GIVEN
    uri = new URI("http://localhost:1234/blabla");
    given(request.getUri()).willReturn(uri);
    //WHEN
    boolean actualResult = underTest.checkIfRequestTargetsLocalhost(request);
    //THEN
    assertTrue(actualResult);
}