예제 #1
0
        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));
        }