public void SetUp()
 {
     _webClientFactory = Substitute.For <IWebClientFactory>();
     _target           = new BulkSender(_webClientFactory, Substitute.For <IInternalLogger>());
     _webClient        = Substitute.For <IWebClient>();
     _webClientFactory.GetWebClient().Returns(x => _webClient);
 }
Exemplo n.º 2
0
 public void SetUp()
 {
     _httpClient = Substitute.For<IHttpClient>();
     _target = new BulkSender(_httpClient);
 }