public void New_ReturnsCorrectView_True()
        {
            SpecialitiesController controller        = new SpecialitiesController();
            ActionResult           newSpecialityView = controller.New();

            Assert.IsInstanceOfType(newSpecialityView, typeof(ViewResult));
        }
        public void Index_HasCorrectModelType_SpecialityList()
        {
            ViewResult indexView = new SpecialitiesController().Index() as ViewResult;
            var        result    = indexView.ViewData.Model;

            Assert.IsInstanceOfType(result, typeof(List <Speciality>));
        }
        public void Index_ReturnsCorrectView_True()
        {
            SpecialitiesController controller = new SpecialitiesController();
            ActionResult           indexView  = controller.Index();

            Assert.IsInstanceOfType(indexView, typeof(ViewResult));
        }
        public void Details_ReturnsCorrectView_True()
        {
            //Arrange
            SpecialitiesController controller = new SpecialitiesController();

            //Act
            ActionResult indexView = controller.Details(0);

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