public void SetUp()
        {
            _dnsClient = A.Fake <IDnsClient>();

            _spfRecordExpander = A.Fake <ISpfRecordsParser>();

            _spfRedirectTermExpander = new SpfRedirectTermExpander(_dnsClient, _spfRecordExpander);
        }
        public void SetUp()
        {
            _dnsClient         = A.Fake <IDnsClient>();
            _spfRecordsParser  = A.Fake <ISpfRecordsParser>();
            _spfRecordExpander = A.Fake <ISpfRecordExpander>();
            _evaluator         = A.Fake <IEvaluator <SpfPollResult> >();
            _config            = A.Fake <ISpfPollerConfig>();


            _spfProcessor = new SpfProcessor(_dnsClient, _spfRecordsParser, _spfRecordExpander, _evaluator, _config);
        }
 public SpfProcessor(IDnsClient dnsClient,
                     ISpfRecordsParser spfRecordsParser,
                     ISpfRecordExpander spfRecordExpander,
                     IEvaluator <SpfPollResult> pollResultRulesEvaluator,
                     ISpfPollerConfig config)
 {
     _dnsClient                = dnsClient;
     _spfRecordsParser         = spfRecordsParser;
     _spfRecordExpander        = spfRecordExpander;
     _pollResultRulesEvaluator = pollResultRulesEvaluator;
     _config = config;
 }
 public SpfRedirectTermExpander(IDnsClient dnsClient, ISpfRecordsParser recordsParser)
 {
     _dnsClient     = dnsClient;
     _recordsParser = recordsParser;
 }