public static void Default_1_GetWebProxy() { var webProxyFactory = WebProxyFactory.GetInstance(); Assert.NotNull(webProxyFactory); var webProxy = webProxyFactory.GetWebProxy(); Assert.NotNull(webProxy); }
public void Default_2_GetWebProxyStatus() { var webProxyFactory = WebProxyFactory.GetInstance(); Assert.NotNull(webProxyFactory); var webProxy = webProxyFactory.GetWebProxy(); Assert.NotNull(webProxy); var webProxyStatus = webProxyFactory.GetWebProxyStatus(webProxy); Assert.True(webProxyStatus != WebProxyFactory.WebProxyStatus.Unknown); _output.WriteLine("WebProxyStatus: " + webProxyStatus); }