Esempio n. 1
0
        public void GetPassengersInFlight()
        {
            var controller = new BookingsController(_bookingService);

            var passengersInFlight = controller.GetPassengersInFlight("PZ696");

            Assert.IsNotNull(passengersInFlight);
            Assert.IsInstanceOfType(passengersInFlight, typeof(FormattedContentResult <IEnumerable <Person> >));
        }
Esempio n. 2
0
        public void GetPassengersInFlightException()
        {
            var controller = new BookingsController(_bookingService);

            var passengersInFlight = controller.GetPassengersInFlight("");
        }