Пример #1
0
        public void UpdateContentShouldUpdate()
        {
            MenuItems newItem = new MenuItems(_repo.MenuItemNum(), "Eggs", "Eggs with toast", "eggs, butter, bread", 99.99);

            _repo.UpdateItemByNum(3, newItem);
            double expected = 99.99;
            double actual   = _repo.GetMenuItemsByNum(3).Price;

            Assert.AreEqual(expected, actual);
        }