public void TestToAddress()
 {
     var attendee = CreateAttendee();
     var targetEventOccurrence = CreateTargetOccurrence();
     var email = new RescheduleAttendeeEmail(attendee, targetEventOccurrence );
     Assert.AreEqual(attendee.EmailAddress, email.ToAddress);
 }
 public void TestTemplateKey()
 {
     var attendee = CreateAttendee();
     var targetEventOccurrence = CreateTargetOccurrence();
     var email = new RescheduleAttendeeEmail(attendee, targetEventOccurrence);
     Assert.AreEqual(EmailTemplateKeys.AdminRescheduleAttendee, email.TemplateKey);
 }
        public void TestTokenData()
        {
            var attendee = CreateAttendee();
            var targetEventOccurrence = CreateTargetOccurrence();
            var email = new RescheduleAttendeeEmail(attendee, targetEventOccurrence);

            Assert.IsNotNull(email.TokenData);
        }