public void HasGetSet()
 {
     var value = new Establishment();
     var entity = new EstablishmentEmailDomain { Establishment = value };
     entity.ShouldNotBeNull();
     entity.Establishment.ShouldEqual(value);
 }
 public void HasGetSet()
 {
     const int value = 12;
     var entity = new EstablishmentEmailDomain { EstablishmentId = value };
     entity.ShouldNotBeNull();
     entity.EstablishmentId.ShouldEqual(value);
 }
            public void HasGetSet()
            {
                var value  = new Establishment();
                var entity = new EstablishmentEmailDomain {
                    Establishment = value
                };

                entity.ShouldNotBeNull();
                entity.Establishment.ShouldEqual(value);
            }
            public void HasGetSet()
            {
                const int value  = 12;
                var       entity = new EstablishmentEmailDomain {
                    EstablishmentId = value
                };

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