public static void SetupNormalContext(Controller controller)
        {
            var context = ControllerContextMock.getContextMock(false);

            controller.ControllerContext = new ControllerContext(context.Object, new RouteData(), controller);
        }
        public static void SetupNormalContext(Controller controller, string login = "******")
        {
            var context = ControllerContextMock.getContextMock(false, login);

            controller.ControllerContext = new ControllerContext(context.Object, new RouteData(), controller);
        }
        public static void SetupAjaxContext(Controller controller)
        {
            var context = ControllerContextMock.getContextMock(true);

            controller.ControllerContext = new ControllerContext(context.Object, new RouteData(), controller);
        }