Exemple #1
0
 public DomainStatusPublisher(IMessageDispatcher dispatcher, ISpfEntityConfig spfEntityConfig, IDomainStatusEvaluator domainStatusEvaluator, ILogger <DomainStatusPublisher> log)
 {
     _dispatcher            = dispatcher;
     _spfEntityConfig       = spfEntityConfig;
     _domainStatusEvaluator = domainStatusEvaluator;
     _log = log;
 }
 public DomainStatusPublisher(IMessageDispatcher dispatcher, ITlsEntityConfig tlsEntityConfig, ITlsEntityDao dao, IDomainStatusEvaluator domainStatusEvaluator, ILogger <DomainStatusPublisher> log)
 {
     _dispatcher            = dispatcher;
     _tlsEntityConfig       = tlsEntityConfig;
     _dao                   = dao;
     _domainStatusEvaluator = domainStatusEvaluator;
     _log                   = log;
 }
Exemple #3
0
        public void SetUp()
        {
            _dispatcher            = A.Fake <IMessageDispatcher>();
            _dmarcEntityConfig     = A.Fake <IDkimEntityConfig>();
            _logger                = A.Fake <ILogger <DomainStatusPublisher> >();
            _domainStatusEvaluator = A.Fake <IDomainStatusEvaluator>();
            A.CallTo(() => _dmarcEntityConfig.SnsTopicArn).Returns("testSnsTopicArn");

            _domainStatusPublisher = new DomainStatusPublisher(_dispatcher, _dmarcEntityConfig, _domainStatusEvaluator, _logger);
        }
        public void SetUp()
        {
            StartUp.StartUp.ConfigureSerializerSettings();
            _dispatcher            = A.Fake <IMessageDispatcher>();
            _spfEntityConfig       = A.Fake <ISpfEntityConfig>();
            _logger                = A.Fake <ILogger <DomainStatusPublisher> >();
            _domainStatusEvaluator = A.Fake <IDomainStatusEvaluator>();
            A.CallTo(() => _spfEntityConfig.SnsTopicArn).Returns("testSnsTopicArn");

            _domainStatusPublisher = new DomainStatusPublisher(_dispatcher, _spfEntityConfig, _domainStatusEvaluator, _logger);
        }