public void StylistCreateForm_ReturnsCorrectView_True()
        {
            StylistController controller = new StylistController();
            ActionResult      indexView  = controller.CreateForm();

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

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

            //Assert
            Assert.IsInstanceOfType(createFormView, typeof(ViewResult));
        }
Example #3
0
        public void CreateForm_BringsYouToCorrectView()
        {
            //Arrange
            StylistController controller = new StylistController();

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

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