Пример #1
0
 public void HasGetSet()
 {
     var value = new Language();
     var entity = new EstablishmentName { TranslationToLanguage = value };
     entity.ShouldNotBeNull();
     entity.TranslationToLanguage.ShouldEqual(value);
 }
Пример #2
0
 public void HasGetSet()
 {
     var value = new Establishment();
     var entity = new EstablishmentName { ForEstablishment = value };
     entity.ShouldNotBeNull();
     entity.ForEstablishment.ShouldEqual(value);
 }
            public void HasGetSet()
            {
                var value  = new Language();
                var entity = new EstablishmentName {
                    TranslationToLanguage = value
                };

                entity.ShouldNotBeNull();
                entity.TranslationToLanguage.ShouldEqual(value);
            }
            public void HasGetSet()
            {
                var value  = new Establishment();
                var entity = new EstablishmentName {
                    ForEstablishment = value
                };

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