コード例 #1
0
 public void HasGetSet()
 {
     var value = new Establishment();
     var entity = new EstablishmentEmailDomain { Establishment = value };
     entity.ShouldNotBeNull();
     entity.Establishment.ShouldEqual(value);
 }
コード例 #2
0
 public void HasGetSet()
 {
     const int value = 12;
     var entity = new EstablishmentEmailDomain { EstablishmentId = value };
     entity.ShouldNotBeNull();
     entity.EstablishmentId.ShouldEqual(value);
 }
コード例 #3
0
            public void HasGetSet()
            {
                var value  = new Establishment();
                var entity = new EstablishmentEmailDomain {
                    Establishment = value
                };

                entity.ShouldNotBeNull();
                entity.Establishment.ShouldEqual(value);
            }
コード例 #4
0
            public void HasGetSet()
            {
                const int value  = 12;
                var       entity = new EstablishmentEmailDomain {
                    EstablishmentId = value
                };

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