public void SetUp() { _smtpSerializer = A.Fake <ISmtpSerializer>(); _smtpDeserializer = A.Fake <ISmtpDeserializer>(); _smtpClient = new SmtpClient(_smtpSerializer, _smtpDeserializer, A.Fake <IMxSecurityTesterConfig>(), A.Fake <ILogger>()); }
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> >()); }
public SmtpClient(ISmtpSerializer smtpSerializer, ISmtpDeserializer smtpDeserializer, IMxSecurityTesterConfig mxSecurityTesterConfig, ILogger log) { _smtpSerializer = smtpSerializer; _smtpDeserializer = smtpDeserializer; _mxSecurityTesterConfig = mxSecurityTesterConfig; _log = log; }