public void AddNewMealAndReadMenu() { Meal hotSoup = new Meal(6, "soup", "hot", "broth", 4.99); _repo.AddMenuItem(hotSoup); List <Meal> menu = _repo.GetMenu(); bool menuHasHotSoup = menu.Contains(hotSoup); Assert.IsTrue(menuHasHotSoup); }
public void AddNewMealAndReadMenu() { Meal hotSoup = new Meal(6, "soup", "hot", "broth", 4.99); _repo.AddMenuItem(hotSoup); List <Meal> menu = _repo.GetMenu(); bool menuHasHotSoup = menu.Contains(hotSoup); Assert.IsTrue(menuHasHotSoup); }