public void TestUpdateBookingRepo() { Booking b1 = new Booking(c1, "10.30", new DateTime(2019, 12, 03, 00, 00, 00), packages2, 2); brT.AddBookingToList(b1); Booking b2 = brT.GetBooking(2); //b2.Customer.CustomerName = "Ricky"; DEN KAN IKKE SETTES DA DEN ER PRIVAT brT.UpdateBooking(b2); Booking b3 = brT.GetBooking(2); Assert.AreSame(b2.Customer.CustomerName, b3.Customer.CustomerName); }