public ArticleComparer(IArticleProvider articleProvider, ISimilarityCalculator similarityCalculator, IArticleProcessor articleProcessor) { _articleProvider = articleProvider; _similarityCalculator = similarityCalculator; _articleProcessor = articleProcessor; }
public void SetUp() { _articleProcessor = Substitute.For <IArticleProcessor>(); _logger = Substitute.For <ILogger <ArticleProcessor> >(); _sut = new ArticleProcessorLoggerDecorator(_articleProcessor, _logger); }
public void SetUp() { _validator = Substitute.For <IValidator <CardInformationConsumer> >(); _articleProcessor = Substitute.For <IArticleProcessor>(); _logger = Substitute.For <ILogger <CardInformationConsumerHandler> >(); _sut = new CardInformationConsumerHandler(_articleProcessor, _validator, _logger); }
public void SetUp() { _banlistUrlDataSource = Substitute.For <IBanlistUrlDataSource>(); _articleProcessor = Substitute.For <IArticleProcessor>(); _logger = Substitute.For <ILogger <BanlistProcessor> >(); _sut = new BanlistProcessor ( _banlistUrlDataSource, _articleProcessor, _logger ); }
public ArticleProcessLoggerDecorator(IArticleProcessor articleProcessor) { _articleProcessor = articleProcessor; _logger = LogManager.GetCurrentClassLogger(); }
public CardInformationConsumerHandler(IArticleProcessor articleProcessor, IValidator <CardInformationConsumer> validator, ILogger <CardInformationConsumerHandler> logger) { _articleProcessor = articleProcessor; _validator = validator; _logger = logger; }
public BanlistInformationConsumerHandler(IArticleProcessor articleProcessor, IValidator <BanlistInformationConsumer> validator) { _articleProcessor = articleProcessor; _validator = validator; }
public void Setup() { _articleProcessor = Substitute.For <IArticleProcessor>(); _sut = new ArticleBatchProcessor(_articleProcessor); }
public ArticleDto(string relativeFilePath, IArticleProcessor reader) { SourceFileRelativePath = relativeFilePath; ArticleProcessorUsed = reader; }
public ArticleProcessorLoggerDecorator(IArticleProcessor articleProcessor, ILogger <ArticleProcessor> logger) { _articleProcessor = articleProcessor; _logger = logger; }
public ArticleBatchProcessor(IArticleProcessor articleProcessor) { _articleProcessor = articleProcessor; }
public void SetUp() { _articleProcessor = Substitute.For <IArticleProcessor>(); _validator = Substitute.For <IValidator <BanlistInformationConsumer> >(); _sut = new BanlistInformationConsumerHandler(_articleProcessor, _validator); }
public void Setup() { _articleProcessor = Substitute.For <IArticleProcessor>(); _sut = new ArticleProcessLoggerDecorator(_articleProcessor); }
/// <summary> /// Initializes a new instance of the <see cref="TinyblogController"/> class. /// </summary> /// <param name="articleProcessor">The article processor.</param> /// <param name="logger">Logger.</param> public TinyblogController(IArticleProcessor articleProcessor, ILogger logger) { this.articleProcessor = articleProcessor; this.logger = logger; }
public BanlistProcessor(IBanlistUrlDataSource banlistUrlDataSource, IArticleProcessor articleProcessor, ILogger <BanlistProcessor> logger) { _banlistUrlDataSource = banlistUrlDataSource; _articleProcessor = articleProcessor; _logger = logger; }