コード例 #1
0
        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);
        }
コード例 #2
0
 public DkimPollSchedulerProcessor(
     IDkimPeriodicSchedulerDao dkimPeriodicSchedulerDao,
     IMessagePublisher publisher,
     IDkimSchedulerConfig config,
     ILogger <DkimPollSchedulerProcessor> log)
 {
     _dkimPeriodicSchedulerDao = dkimPeriodicSchedulerDao;
     _publisher = publisher;
     _config    = config;
     _log       = log;
 }