public void WillIgnore_If_Url_IsNull()
 {
     var webClient = new WebClientFactory().GetWebClient(null);
     Assert.That(webClient, Is.TypeOf<HttpWebClient>());
 }
 public void CanGet_HttpWebClient()
 {
     var webClient = new WebClientFactory().GetWebClient("http://cruise/ccnet");
     Assert.That(webClient, Is.TypeOf<HttpWebClient>());
 }
 public void CanGet_SandboxWebClient()
 {
     var webClient = new WebClientFactory().GetWebClient("debughttp://cruise/ccnet");
     Assert.That(webClient, Is.TypeOf<SandboxWebClient>());
 }
 public void WillIgnore_If_Url_IsEmpty()
 {
     var webClient = new WebClientFactory().GetWebClient("", "dummy", "dummy");
     Assert.That(webClient, Is.TypeOf<HttpWebClient>());
 }