static boolean isLocalhost(String hostname, String ipAddress) {
        try {
            return isLocalhostWithLoopbackIpAddress(hostname, ipAddress) || isLocalhostWithNonLoopbackIpAddress(ipAddress);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
@Test
    public void shouldReturnFalseIfAddressIsNotLocalFilteredByHostname() throws UnknownHostException {
        assertThat("Localhost (google.com with ip 127.0.0.1) should not be a local address.", SystemUtil.isLocalhost("google.com", "127.0.0.1"), is(false));
    }