Beispiel #1
0
 public void SetUp()
 {
     _dnsResolver = new DnsResolverWrapper(new List <IPEndPoint> {
         new IPEndPoint(IPAddress.Parse("8.8.8.8"), 53)
     });
     _client = new SpfRecordDnsClient(_dnsResolver, A.Fake <ILogger>());
 }
 public void SetUp()
 {
     _dnsResolver        = A.Fake <IDnsResolver>();
     _logger             = A.Fake <ILogger>();
     _spfRecordDnsClient = new SpfRecordDnsClient(_dnsResolver, _logger);
 }