public void HasGetSet()
 {
     var value = DateTime.UtcNow;
     var entity = new EmailMessage { ComposedOnUtc = value };
     entity.ShouldNotBeNull();
     entity.ComposedOnUtc.ShouldEqual(value);
 }
 public void HasGetSet()
 {
     const string value = "text";
     var entity = new EmailMessage { ComposedByPrincipal = value };
     entity.ShouldNotBeNull();
     entity.ComposedByPrincipal.ShouldEqual(value);
 }
 public void HasGetSet()
 {
     const string value = "text";
     var entity = new EmailMessage { ReplyToDisplayName = value };
     entity.ShouldNotBeNull();
     entity.ReplyToDisplayName.ShouldEqual(value);
 }
Exemple #4
0
            public void HasGetSet()
            {
                var value  = DateTime.UtcNow;
                var entity = new EmailMessage {
                    ComposedOnUtc = value
                };

                entity.ShouldNotBeNull();
                entity.ComposedOnUtc.ShouldEqual(value);
            }
Exemple #5
0
            public void HasGetSet()
            {
                const string value  = "text";
                var          entity = new EmailMessage {
                    ComposedByPrincipal = value
                };

                entity.ShouldNotBeNull();
                entity.ComposedByPrincipal.ShouldEqual(value);
            }
Exemple #6
0
            public void HasGetSet()
            {
                const string value  = "text";
                var          entity = new EmailMessage {
                    ReplyToDisplayName = value
                };

                entity.ShouldNotBeNull();
                entity.ReplyToDisplayName.ShouldEqual(value);
            }