コード例 #1
0
 public void SetUp()
 {
     _smtpSerializer   = A.Fake <ISmtpSerializer>();
     _smtpDeserializer = A.Fake <ISmtpDeserializer>();
     _smtpClient       = new SmtpClient(_smtpSerializer, _smtpDeserializer,
                                        A.Fake <IMxSecurityTesterConfig>(), A.Fake <ILogger>());
 }
コード例 #2
0
 public void SetUp()
 {
     _smtpSerializer   = A.Fake <ISmtpSerializer>();
     _smtpDeserializer = A.Fake <ISmtpDeserializer>();
     _smtpClient       = new MailCheck.Mx.TlsTester.Smtp.SmtpClient(_smtpSerializer, _smtpDeserializer,
                                                                    A.Fake <IMxTesterConfig>(), A.Fake <ILogger <ISmtpClient> >());
 }
コード例 #3
0
 public SmtpClient(ISmtpSerializer smtpSerializer,
                   ISmtpDeserializer smtpDeserializer,
                   IMxSecurityTesterConfig mxSecurityTesterConfig,
                   ILogger log)
 {
     _smtpSerializer         = smtpSerializer;
     _smtpDeserializer       = smtpDeserializer;
     _mxSecurityTesterConfig = mxSecurityTesterConfig;
     _log = log;
 }