@Test
public void testCheckConditionShouldReturnTrueWhenRequestHasLocalhostIpUri() throws URISyntaxException {

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