상속: RevisableEntity
예제 #1
0
 public void HasGetSet()
 {
     const string value = "text";
     var entity = new EmailTemplate { FromAddress = value };
     entity.ShouldNotBeNull();
     entity.FromAddress.ShouldEqual(value);
 }
예제 #2
0
 public void HasGetSet()
 {
     const string value = "text";
     var entity = new EmailTemplate { ReplyToDisplayName = value };
     entity.ShouldNotBeNull();
     entity.ReplyToDisplayName.ShouldEqual(value);
 }
예제 #3
0
 public void HasGetSet()
 {
     const int value = 9;
     var entity = new EmailTemplate { EstablishmentId = value };
     entity.ShouldNotBeNull();
     entity.EstablishmentId.ShouldEqual(value);
 }
 internal ScenarioOptions(SendConfirmEmailMessageCommand command)
 {
     Command = command;
     Person = new Person
     {
         RevisionId = 6,
         Emails = new[]
         {
             new EmailAddress
             {
                 Value = command.EmailAddress,
             },
         },
     };
     EmailMessage = new EmailMessage
     {
         ToPerson = Person,
         Number = 7,
     };
     EmailTemplate = new EmailTemplate();
 }