5960616263646566
} @Test public void shouldCreateManualProxy() { gui.manualProxy.setSelected(true); final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement(); assertThat(testElement.getProxyType(), is(ProxyType.MANUAL)); }
6667686970717273
} @Test public void shouldCreateProxyPacProxy() { gui.pacUrlProxy.setSelected(true); final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement(); assertThat(testElement.getProxyType(), is(ProxyType.PROXY_PAC)); }
7374757677787980
} @Test public void shouldCreateAutoDectetProxy() { gui.autoDetectProxy.setSelected(true); final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement(); assertThat(testElement.getProxyType(), is(ProxyType.AUTO_DETECT)); }
8081828384858687
} @Test public void shouldSetPacUrl() { gui.pacUrl.setText("http://pac.url"); final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement(); assertThat(testElement.getProxyPacUrl(), is("http://pac.url")); }