示例#1
0
        public void Arrange()
        {
            _repoItems = new MenuRepo();
            _items     = new MenuPOCOs("CheeseBurger", 1, "Juicy Cheeseburger", new List <string> {
                "Bun", "Beef patty", "Cheese", "Tomato", "Pickle", "Onion"
            }, 7.98);

            _repoItems.AddMealNumberToMeal(_items);
        }
示例#2
0
        public void AddMealNumberToMeal_ShouldGetCorrectBoolean()
        {
            MenuPOCOs menu       = new MenuPOCOs();
            MenuRepo  repository = new MenuRepo();

            bool addResult = repository.AddMealNumberToMeal(menu);

            Assert.IsTrue(addResult);
            Console.WriteLine(addResult);
        }