public void CreateRecipeForm_ReturnIfTrue_View() { //arrange RecipeController controller = new RecipeController(); //act IActionResult createRecipeFormView = controller.CreateRecipeForm(); ViewResult result = createRecipeFormView as ViewResult; //assert Assert.IsInstanceOfType(result, typeof(ViewResult)); }