Example #1
0
        public void SeeIngredientsListTest()
        {
            // Arrange
            SeedItemList();
            List <MenuContent> listReceived;

            //Act
            listReceived = _testRepo.SeeIngredientsList();
            int count = listReceived.Count;


            //Assert
            Assert.AreEqual(1, count);
        }
Example #2
0
        public void CheckIngredientsList()
        {
            Console.Clear();
            List <MenuContent> ingList = _repoContent.SeeIngredientsList();

            foreach (MenuContent content in ingList)
            {
                Console.WriteLine($"{content.Ingredients} \n" +
                                  $"");
            }
            Console.ReadKey();
            Console.Clear();
        }