コード例 #1
0
 public void ShouldCreateWAPackIaaSClient()
 {
     var factory = new WebClientFactory(new Subscription(), null);
     Assert.IsInstanceOfType(factory.CreateClient("a"), typeof(WAPackIaaSClient));
 }
コード例 #2
0
 public void ShouldCreateWAPackIaaSClient()
 {
     var factory = new WebClientFactory(new Subscription(), null);
     Assert.NotNull(factory.CreateClient("a"));
 }
コード例 #3
0
 public void ShouldThrowWithNullSubscription()
 {
     var factory = new WebClientFactory(null, null);
     factory.CreateClient(string.Empty);
 }
コード例 #4
0
 public void ShouldThrowWithNullSubscription()
 {
     var factory = new WebClientFactory(null, null);
     Assert.Throws<ArgumentNullException>(() => factory.CreateClient(string.Empty));
 }