public void Test_UpdateReservation() { AutoReservationBusinessComponent arvc = new AutoReservationBusinessComponent(); Reservation original = arvc.GetAllReservations()[0]; Reservation modified = arvc.GetAllReservations()[0]; modified.Bis = new DateTime(2099, 12, 31); arvc.UpdateReservation(original, modified); Reservation newReservation = arvc.GetAllReservations()[0]; Assert.AreEqual(new DateTime(2099, 12, 31), modified.Bis); }