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; }