public void GetLocationsByTravelSuccessfully() { List <Location> locations = TravelRepository.GetLocationsByTravel(1); Assert.NotZero(locations.Count); }
public void WithoutTravelLocationsException() { Assert.Throws <WithoutTravelLocationsException>( () => TravelRepository.GetLocationsByTravel(100)); }