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

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