public void Test_UpdateAuto() { AutoReservationBusinessComponent arvc = new AutoReservationBusinessComponent(); Auto original = arvc.GetAllAutos()[0]; Auto modified = arvc.GetAllAutos()[0]; modified.Marke = "Skoda"; arvc.UpdateAuto(original, modified); Auto newCar = arvc.GetAllAutos()[0]; Assert.AreEqual("Skoda", newCar.Marke); }