public void New_ReturnsCorrectView_True()
        {
            StylistsController controller = new StylistsController();
            ActionResult       newView    = controller.New();

            Assert.IsInstanceOfType(newView, typeof(ViewResult));
        }
Esempio n. 2
0
        public void Update_Stylist()
        {
            StylistsController controller = new StylistsController();

            //Act
            ActionResult UpdateStylist = controller.New(1);

            //Assert
            Assert.IsInstanceOfType(UpdateStylist, typeof(ViewResult));
        }
        public void New_ReturnsCorrectView_True()
        {
            //Arrange
            StylistsController controller = new StylistsController();
            //Act
            ActionResult indexView = controller.New();

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