public InetAddress getHostAddress() {
        return hostAddress;
    }
@Test
    public void setIp() {
        DummyConnectionConfiguration.Builder builder = newUnitTestBuilder();

        final String ip = "192.168.0.1";
        builder.setHost(ip);

        DummyConnectionConfiguration connectionConfiguration = builder.build();
        assertEquals('/' + ip, connectionConfiguration.getHostAddress().toString());
    }