Example #1
0
 public void HasGetSet()
 {
     var value = new Place();
     var entity = new PlaceName { NameFor = value };
     entity.ShouldNotBeNull();
     entity.NameFor.ShouldEqual(value);
 }
Example #2
0
 public void HasGetSet()
 {
     const bool value = true;
     var entity = new Place { IsAdmin3 = value };
     entity.ShouldNotBeNull();
     entity.IsAdmin3.ShouldEqual(value);
 }
Example #3
0
 public void HasGetSet()
 {
     var value = new Place();
     var entity = new PlaceNode { Offspring = value };
     entity.ShouldNotBeNull();
     entity.Offspring.ShouldEqual(value);
 }
Example #4
0
 public void HasGetSet()
 {
     var value = new Place();
     var entity = new PlaceNode { Ancestor = value };
     entity.ShouldNotBeNull();
     entity.Ancestor.ShouldEqual(value);
 }
Example #5
0
 public void HasGetSet()
 {
     var value = new BoundingBox(null, null, null, null);
     var entity = new Place { BoundingBox = value };
     entity.ShouldNotBeNull();
     entity.BoundingBox.ShouldEqual(value);
 }
Example #6
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);
 }
Example #7
0
 public void HasGetSet()
 {
     var value = new List<Place> { new Place() };
     var entity = new Place { Children = value };
     entity.ShouldNotBeNull();
     entity.Children.ShouldEqual(value);
 }
Example #8
0
 public void HasGetSet()
 {
     var value = new Coordinates(null, null);
     var entity = new Place { Center = value };
     entity.ShouldNotBeNull();
     entity.Center.ShouldEqual(value);
 }