コード例 #1
0
        public void CreateStudentForm_ReturnIfTrue_View()
        {
            //arrange
            StudentsController controller = new StudentsController();

            //act
            IActionResult createStudentFormView = controller.CreateStudentForm();
            ViewResult    result = createStudentFormView as ViewResult;

            //assert
            Assert.IsInstanceOfType(result, typeof(ViewResult));
        }