public void Setup() { _articleCategoryProcessor = Substitute.For <IArticleCategoryProcessor>(); var banlistProcessor = Substitute.For <IBanlistProcessor>(); _sut = new BanlistInformationTaskHandler(_articleCategoryProcessor, new BanlistInformationTaskValidator(), banlistProcessor); }
public void SetUp() { _articleCategoryProcessor = Substitute.For <IArticleCategoryProcessor>(); _validator = Substitute.For <IValidator <BanlistInformationTask> >(); _banlistProcessor = Substitute.For <IBanlistProcessor>(); _sut = new BanlistInformationTaskHandler ( _articleCategoryProcessor, _validator, _banlistProcessor ); }