Пример #1
0
        public void New_ReturnsCorrectView_True()
        {
            SpecialtiesController controller = new  SpecialtiesController();
            ActionResult          newView    = controller.New();

            Assert.IsInstanceOfType(newView, typeof(ViewResult));
        }
        public void CreateSpecialty_ReturnsCorrectSpecialtiesView_True()
        {
            //Arrange
            SpecialtiesController controller = new SpecialtiesController();

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

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