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