コード例 #1
0
 public void WillIgnore_If_Url_IsNull()
 {
     var webClient = new WebClientFactory().GetWebClient(null);
     Assert.That(webClient, Is.TypeOf<HttpWebClient>());
 }
コード例 #2
0
 public void CanGet_HttpWebClient()
 {
     var webClient = new WebClientFactory().GetWebClient("http://cruise/ccnet");
     Assert.That(webClient, Is.TypeOf<HttpWebClient>());
 }
コード例 #3
0
 public void CanGet_SandboxWebClient()
 {
     var webClient = new WebClientFactory().GetWebClient("debughttp://cruise/ccnet");
     Assert.That(webClient, Is.TypeOf<SandboxWebClient>());
 }
コード例 #4
0
 public void WillIgnore_If_Url_IsEmpty()
 {
     var webClient = new WebClientFactory().GetWebClient("", "dummy", "dummy");
     Assert.That(webClient, Is.TypeOf<HttpWebClient>());
 }