public void RemoveBookingFromTheListOfAllBookingsTest() { 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(1, performance, seats, BookingState.Pending, customer1, false, 0); theater.AddBookingToTheListOfAllBookings(book1); theater.AddBookingToTheListOfAllBookings(book2); Assert.AreEqual(true, theater.RemoveBookingFromTheListOfAllBookings(0)); Assert.AreEqual(book2, theater.GetListOfAllBookings()[0]); }