public void SearchListOfAllBookingsByBookingIDTest() { Performance performance = new Performance(0, DateTime.Now, 0); List <Seat> seats = new List <Seat>(); Customer customer1 = new Customer("Paul", "*****@*****.**", 0, true); Booking book1 = new Booking(0, performance, seats, BookingState.Active, customer1, true, 0); Booking book2 = new Booking(190, performance, seats, BookingState.Pending, customer1, false, 0); theater.AddBookingToTheListOfAllBookings(book1); theater.AddBookingToTheListOfAllBookings(book2); Assert.AreEqual(theater.GetListOfAllBookings()[1], theater.SearchListOfAllBookingsByBookingID(190)); }