public void Show_ReturnsCorrectView_True()
        {
            StylistsController controller = new StylistsController();
            ActionResult       showView   = controller.Show(1);

            Assert.IsInstanceOfType(showView, typeof(ViewResult));
        }
        public void Show_ReturnsCorrectView_True()
        {
            StylistsController controller = new StylistsController();
            Stylist            stylist    = new Stylist("bob", "foo", "409-582-3251", "bobfooATgmailDOTcom");
            ActionResult       showView   = controller.Show(1);

            Assert.IsInstanceOfType(showView, typeof(ViewResult));
        }
        public void Show_HasCorrectModelType_Stylist()
        {
            StylistsController controller = new StylistsController();
            Stylist            stylist    = new Stylist("bob", "foo", "409-582-3251", "bobfooATgmailDOTcom");
            ViewResult         showView   = controller.Show(1) as ViewResult;
            var result = showView.ViewData.Model;

            Assert.IsInstanceOfType(result, typeof(Dictionary <string, object>));
        }
        public void Show_HasCorrectModelType_Stylist()
        {
            StylistsController controller = new StylistsController();
            StylistClass       stylist    = new StylistClass("Stylist1", "1", 1);
            ViewResult         showView   = controller.Show(1) as ViewResult;
            var result = showView.ViewData.Model;

            Assert.IsInstanceOfType(result, typeof(Dictionary <string, object>));
        }
        public void Show_ReturnsCorrectView_True()
        {
            //Arrange
            StylistsController controller = new StylistsController();
            //Act
            ActionResult indexView = controller.Show(1);

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