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