public void SetUp() { _dnsClient = A.Fake <IDnsClient>(); _tlsRptRecordsParser = A.Fake <ITlsRptRecordsParser>(); _config = A.Fake <ITlsRptPollerConfig>(); _evaluator = A.Fake <ITlsRptRecordsEvaluator>(); _tlsRptProcessor = new TlsRptProcessor(_dnsClient, _tlsRptRecordsParser, _evaluator, _config); }
public PollHandler(ITlsRptProcessor processor, IMessageDispatcher dispatcher, ITlsRptPollerConfig config, ILogger <PollHandler> log) { _processor = processor; _dispatcher = dispatcher; _config = config; _log = log; }