private void assertGlobalProxyHost(String expectedProxyHost) {
ProxySelector proxySelector = ProxySelector.getDefault();
Proxy globalProxy = null;
if (proxySelector != null) {
List<Proxy> globalProxies = proxySelector.select(URI.create("http://soapui.org/"));
assertThat(globalProxies.size(), is(1));
globalProxy = globalProxies.get(0);
}
if (expectedProxyHost == null) {