Ejemplo n.º 1
0
        [TestCase("Pandekager", "Pandekager")]                   //Recipe name included
        public async Task TestForReturningHtmlCodeFromFunctionShowFullRecipe(string searchWord, string htmlExpected)
        {
            var resultString = await _uut.ShowRecipeFullView(searchWord, 4, _context);

            StringAssert.Contains(htmlExpected, resultString);
        }
        public Task <string> ViewASpeceficRecipe(string words, double count)
        {
            var recipe = new AddHtmlToRecipe();

            return(recipe.ShowRecipeFullView(words, count, _context));
        }