Exemple #1
0
 private void AssertLocationDTO(Location location, LocationDTO dto)
 {
     AssertDTO(location, dto, new [] {
         "Name", "Address", "LocationID"
     });
 }
Exemple #2
0
        public void LocationDTOTest()
        {
            Location location = new Location()
            {
                Name = "asdf",
                Address = "zxvc",
                LocationID = 1
            };

            LocationDTO dto = new LocationDTO(location);

            AssertLocationDTO(location, dto);
        }