示例#1
0
        public void TestGetWholeMenu()
        {
            // Arrange
            List <MenuItems> _returnWholeList = new List <MenuItems>();

            // act
            TestMenuRepo.AddMenuItem(menuTest);
            _testWholeMenu.Add(menuTest);
            _returnWholeList = TestMenuRepo.GetEntireMenu();

            Assert.AreEqual(_testWholeMenu.Count, _returnWholeList.Count);
            //Assert.AreSame(_testWholeMenu, TestMenuRepo.GetEntireMenu());
        }