private static AccountController GetAccountController()
 {
     RequestContext requestContext = new RequestContext(new MockHttpContext(), new RouteData());
     AccountController controller = new AccountController(new MockFormsAuthenticationService(), new MockMembershipService(), MockRepository.GenerateMock<IAccountRoleService>())
     {
         Url = new UrlHelper(requestContext)
     };
     controller.ControllerContext = new ControllerContext()
     {
         Controller = controller,
         RequestContext = requestContext
     };
     return controller;
 }
        public override void BeforeEachTest()
        {
            base.BeforeEachTest();

            controller = container.Resolve<AccountController>();
        }