public void SetUp() { _banlistUrlDataSource = Substitute.For <IBanlistUrlDataSource>(); _articleProcessor = Substitute.For <IArticleProcessor>(); _logger = Substitute.For <ILogger <BanlistProcessor> >(); _sut = new BanlistProcessor ( _banlistUrlDataSource, _articleProcessor, _logger ); }
public BanlistProcessor(IBanlistUrlDataSource banlistUrlDataSource, IArticleHandler articleHandler) { _banlistUrlDataSource = banlistUrlDataSource; _articleHandler = articleHandler; _logger = LogManager.GetCurrentClassLogger(); }
public BanlistProcessor(IBanlistUrlDataSource banlistUrlDataSource, IArticleProcessor articleProcessor, ILogger <BanlistProcessor> logger) { _banlistUrlDataSource = banlistUrlDataSource; _articleProcessor = articleProcessor; _logger = logger; }