Exemplo n.º 1
0
        public void Food_GetList_ShouldPrintList()
        {
            List <Food> list = new List <Food>();
            Food        item = new Food(6, "Waffles", "Breakfast", "Syrup", 5);

            FoodRepository Repo = new FoodRepository();

            Repo.AddMenuItemToList(item);
            list = Repo.GetList();

            int Expected = 1;
            int Actual   = list.Count;

            Assert.AreEqual(Expected, Actual);
        }