public void HasGetSet() { const string value = "text"; var entity = new EmailTemplate { FromAddress = value }; entity.ShouldNotBeNull(); entity.FromAddress.ShouldEqual(value); }
public void HasGetSet() { const string value = "text"; var entity = new EmailTemplate { ReplyToDisplayName = value }; entity.ShouldNotBeNull(); entity.ReplyToDisplayName.ShouldEqual(value); }
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(); }