public void CreateBooking_ThreePaid()
        {
            Booking actualBooking = travelAgent.CreateBooking(timeOfBooking, diligentDave, tripToBook);

            Assert.AreEqual(BookingCode.Accepted, actualBooking.BookingCode);
        }
Esempio n. 2
0
        public void ExtraFee_FirstTimeTraveler()
        {
            Booking actualBooking = travelAgent.CreateBooking(new DateTime(2018, 06, 20), firstTimeFred, julyTrip);

            Assert.AreEqual(singleTripPrice, actualBooking.Price);
        }
        public void CreateBooking_InTime()
        {
            Booking actualBooking = travelAgent.CreateBooking(goodTimeOfBooking, traveler, tripToBook);

            Assert.AreEqual(BookingCode.Accepted, actualBooking.BookingCode);
        }