public void CreateForm_ReturnsCorrectView_True()
        {
            SpecialtiesController controller = new SpecialtiesController();
            ActionResult          createView = controller.CreateForm();

            Assert.IsInstanceOfType(createView, typeof(ViewResult));
        }
示例#2
0
        public void CreateForm_ReturnsCorrectView_True()
        {
            //Arrange
            SpecialtiesController controller = new SpecialtiesController();

            //Act
            ActionResult indexView = controller.CreateForm();

            //Assert
            Assert.IsInstanceOfType(indexView, typeof(ViewResult));
        }