public void ShowEntireMenu_ShouldBeRight() { Menu MenuItem = new Menu(); Menu_Repo repo = new Menu_Repo(); List <Menu> contents = repo.GetMenu(); bool repoContents = contents.Contains(MenuItem); Assert.IsTrue(repoContents); }
void ShowEntireMenu() { Console.Clear(); List <Menu> menuList = _repo.GetMenu(); foreach (Menu content in menuList) { DisplayContent(content); } Console.WriteLine("Press any key to continue"); Console.ReadKey(); }