public SeatReservation(FlightSeating flight, string row, int seatNumber, Passenger passenger) { _flight = flight; _row = row; _seatNumber = seatNumber; _passenger = passenger; }
public void SeatIsReservedForPassenger() { FlightSeating seating = new FlightSeating(); Passenger passenger = new Passenger(); SeatReservation reservation = seating.Reserve("A", 1, passenger); Assert.AreEqual(passenger, reservation.Passenger); }