public void OtherViewMenu()
        {
            MockContext mockContext = new MockContext();
            var homeController = new HomeController()
            {
                ControllerContext = new ControllerContext()
                {
                    HttpContext = mockContext.Http.Object
                }
            };

            //act
            var result = homeController.ViewMenu() as ViewResult;
            Assert.AreEqual("ViewMenu", result.ViewName);
        }
        public void AdminViewMenu()
        {
            MockContext mockContext = new MockContext();
            mockContext.Cookies.Add(new HttpCookie("UserSettings", "Role=SystemAdmin"));
            var homeController = new HomeController()
            {
                ControllerContext = new ControllerContext()
                {
                    HttpContext = mockContext.Http.Object
                }
            };

            //act
            var result = homeController.ViewMenu() as ViewResult;
            Assert.AreEqual("StaffMenu", result.ViewName);
        }