public void CreateForm_ReturnsCorrectView_True()
        {
            //Arrange
            StylistController controller = new StylistController();

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

            //Assert
            Assert.IsInstanceOfType(indexView, typeof(ViewResult));
        }
Example #2
0
        public void CreateClientForm_ReturnIfTrue_View()
        {
            //arrange
            StylistController controller = new StylistController();

            //act
            IActionResult createStylistFormView = controller.CreateStylistForm();
            ViewResult    result = createStylistFormView as ViewResult;

            //assert
            Assert.IsInstanceOfType(result, typeof(ViewResult));
        }