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