Пример #1
0
 public void HasGetSet()
 {
     var value = new Place();
     var entity = new PlaceName { NameFor = value };
     entity.ShouldNotBeNull();
     entity.NameFor.ShouldEqual(value);
 }
Пример #2
0
 public void HasGetSet()
 {
     const string value = "text";
     var entity = new PlaceName { TranslationToHint = value };
     entity.ShouldNotBeNull();
     entity.TranslationToHint.ShouldEqual(value);
 }
Пример #3
0
 public void HasGetSet()
 {
     const bool value = true;
     var entity = new PlaceName { IsPreferredTranslation = value };
     entity.ShouldNotBeNull();
     entity.IsPreferredTranslation.ShouldEqual(value);
 }
Пример #4
0
            public void HasGetSet()
            {
                var value  = new Place();
                var entity = new PlaceName {
                    NameFor = value
                };

                entity.ShouldNotBeNull();
                entity.NameFor.ShouldEqual(value);
            }
Пример #5
0
            public void HasGetSet()
            {
                const string value  = "text";
                var          entity = new PlaceName {
                    TranslationToHint = value
                };

                entity.ShouldNotBeNull();
                entity.TranslationToHint.ShouldEqual(value);
            }
Пример #6
0
            public void HasGetSet()
            {
                const bool value  = true;
                var        entity = new PlaceName {
                    IsPreferredTranslation = value
                };

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