343536373839404142
} @Test public void parsesHostAndPortCorrectly() { ProxySettings settings = ProxySettings.fromString("some.host.org:8888"); assertThat(settings.host(), is("some.host.org")); assertThat(settings.port(), is(8888)); } }