public void ReturnsViewResultWithDefaultViewName()
            {
                var controller = new HomeController(ProcurementFactory);

                var result = controller.Index();

                var viewResult = Assert.IsType<ViewResult>(result);
                Assert.Empty(viewResult.ViewName);
            }
            public void SetsViewDataWithNoModel()
            {
                var controller = new HomeController(ProcurementFactory);

                var result = controller.About();

                var viewResult = Assert.IsType<ViewResult>(result);
                Assert.Null(viewResult.ViewData.Model);
            }
            public void SetsViewDataWithNoModel()
            {
                var controller = new HomeController(ProcurementFactory);

                var result = controller.Index();

                var viewResult = Assert.IsType<ViewResult>(result);
                Assert.Equal("Welcome to the Gatewood Elementary 'Bids For Kids' Auction Procurement Database!", viewResult.ViewData["Message"]);
                Assert.Null(viewResult.ViewData.Model);
            }