Beispiel #1
0
 public void HasGetSet()
 {
     const bool value = true;
     var entity = new Place { IsAdmin3 = value };
     entity.ShouldNotBeNull();
     entity.IsAdmin3.ShouldEqual(value);
 }
Beispiel #2
0
            public void HasGetSet()
            {
                const bool value  = true;
                var        entity = new Place {
                    IsAdmin3 = value
                };

                entity.ShouldNotBeNull();
                entity.IsAdmin3.ShouldEqual(value);
            }
Beispiel #3
0
            public void HasGetSet()
            {
                var value  = new Coordinates(null, null);
                var entity = new Place {
                    Center = value
                };

                entity.ShouldNotBeNull();
                entity.Center.ShouldEqual(value);
            }
Beispiel #4
0
            public void HasGetSet()
            {
                var value  = new BoundingBox(null, null, null, null);
                var entity = new Place {
                    BoundingBox = value
                };

                entity.ShouldNotBeNull();
                entity.BoundingBox.ShouldEqual(value);
            }
Beispiel #5
0
            public void HasGetSet()
            {
                var value = new List <PlaceName> {
                    new PlaceName(), new PlaceName()
                };
                var entity = new Place {
                    Names = value
                };

                entity.ShouldNotBeNull();
                entity.Names.ShouldEqual(value);
            }
Beispiel #6
0
            public void HasGetSet()
            {
                var value = new List <Place> {
                    new Place()
                };
                var entity = new Place {
                    Children = value
                };

                entity.ShouldNotBeNull();
                entity.Children.ShouldEqual(value);
            }
Beispiel #7
0
 public void HasGetSet()
 {
     var value = new BoundingBox(null, null, null, null);
     var entity = new Place { BoundingBox = value };
     entity.ShouldNotBeNull();
     entity.BoundingBox.ShouldEqual(value);
 }
Beispiel #8
0
 public void HasGetSet()
 {
     var value = new List<PlaceName> { new PlaceName(), new PlaceName() };
     var entity = new Place { Names = value };
     entity.ShouldNotBeNull();
     entity.Names.ShouldEqual(value);
 }
Beispiel #9
0
 public void HasGetSet()
 {
     var value = new List<Place> { new Place() };
     var entity = new Place { Children = value };
     entity.ShouldNotBeNull();
     entity.Children.ShouldEqual(value);
 }
Beispiel #10
0
 public void HasGetSet()
 {
     var value = new Coordinates(null, null);
     var entity = new Place { Center = value };
     entity.ShouldNotBeNull();
     entity.Center.ShouldEqual(value);
 }