public void UpdateMealTest() //TEST PASSED { SeedMealList(); List <string> coffeeIngredients = new List <string>() { "coffee", "hazelnut" }; Meal newMeal = new Meal(2, "Coffee", "Black coffee from freshly ground beans", coffeeIngredients, 2.15); _repo.UpdateMealByNumber(2, newMeal); // SeedRepo(); <-- Don't need this if it's a [TestInitialize] method List <string> expected = coffeeIngredients; List <string> actual = _repo.GetMealByNumber(2).Ingredients; Assert.AreEqual(expected, actual); }