public void AddMenuItemToList_ShouldNotBeNull()
        {
            KomodoCafeMenuRepository repo     = new KomodoCafeMenuRepository();
            KomodoCafeMenu           menuItem = new KomodoCafeMenu(2, "salad", "a big salad", "salad ingredients", 8.35m);

            repo.AddMenuItemToList(menuItem);
            KomodoCafeMenu menuItemFromList = repo.GetMenuItemByMealNumber(2);

            Assert.IsNotNull(menuItemFromList);
        }
        private void AddMenuItem()
        {
            Console.Clear();
            KomodoCafeMenu newMenuItem = new KomodoCafeMenu();

            Console.WriteLine("Enter the meal number for the new menu item.");
            newMenuItem.MealNumber = int.Parse(Console.ReadLine());

            Console.WriteLine("Enter the name of the new menu item.");
            newMenuItem.MealName = Console.ReadLine();

            Console.WriteLine("Enter the description for the new menu item.");
            newMenuItem.Description = Console.ReadLine();

            Console.WriteLine("Enter the ingredients for the new menu item.");
            newMenuItem.Ingredients = Console.ReadLine();

            Console.WriteLine("Enter the price for the new menu item.");
            newMenuItem.Price = decimal.Parse(Console.ReadLine());

            _menuList.AddMenuItemToList(newMenuItem);
        }
 public void Arrange()
 {
     _repo     = new KomodoCafeMenuRepository();
     _menuItem = new KomodoCafeMenu(1, "burger", "a big burger", "burger ingredients", 7.03m);
     _repo.AddMenuItemToList(_menuItem);
 }