Example #1
0
 public void TestToAddress()
 {
     var data = CreateData();
     var email = new OptOutConfirmationEmail(data);
     Assert.AreEqual(data.EmailAddress, email.ToAddress);
 }
Example #2
0
 public void TestTemplateKey()
 {
     var data = CreateData();
     var email = new OptOutConfirmationEmail(data);
     Assert.AreEqual(EmailTemplateKeys.BroadcastMessageOptOutConfirmation, email.TemplateKey);
 }