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

            Assert.IsInstanceOfType(newView, typeof(ViewResult));
        }
예제 #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));
        }