public void SetUp() { _dao = A.Fake <IDkimPeriodicSchedulerDao>(); _publisher = A.Fake <IMessagePublisher>(); _config = A.Fake <IDkimSchedulerConfig>(); _log = A.Fake <ILogger <DkimPollSchedulerProcessor> >(); _processor = new DkimPollSchedulerProcessor(_dao, _publisher, _config, _log); }
public DkimPollSchedulerProcessor( IDkimPeriodicSchedulerDao dkimPeriodicSchedulerDao, IMessagePublisher publisher, IDkimSchedulerConfig config, ILogger <DkimPollSchedulerProcessor> log) { _dkimPeriodicSchedulerDao = dkimPeriodicSchedulerDao; _publisher = publisher; _config = config; _log = log; }