[TestCase("<style>")] //Css included public async Task TestForReturningHtmlCodeFromFunctionShowSmallRecipeAllStoresAllRecipes(string htmlExpected) { string allStores = ""; var resultString = await _uut.ShowRecipeSmallViewAsync(allStores, 20, _context); StringAssert.Contains(htmlExpected, resultString); }
public Task <string> ViewForSmallRecipe(string stores, int count) { var recipe = new AddHtmlToRecipe(); return(recipe.ShowRecipeSmallViewAsync(stores, count, _context)); }