示例#1
0
        public void GetLocationsByTravelSuccessfully()
        {
            List <Location> locations = TravelRepository.GetLocationsByTravel(1);

            Assert.NotZero(locations.Count);
        }
示例#2
0
 public void WithoutTravelLocationsException()
 {
     Assert.Throws <WithoutTravelLocationsException>(
         () => TravelRepository.GetLocationsByTravel(100));
 }