Inheritance: RevisableEntity
Exemplo n.º 1
0
 public void HasGetSet()
 {
     const string value = "text";
     var entity = new EmailTemplate { FromAddress = value };
     entity.ShouldNotBeNull();
     entity.FromAddress.ShouldEqual(value);
 }
Exemplo n.º 2
0
 public void HasGetSet()
 {
     const string value = "text";
     var entity = new EmailTemplate { ReplyToDisplayName = value };
     entity.ShouldNotBeNull();
     entity.ReplyToDisplayName.ShouldEqual(value);
 }
Exemplo n.º 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();
 }