Ejemplo n.º 1
0
 public void VerificationLogAndPassword()
 {
     //Arrange
     AccountController controller = new AccountController(ds);
     User model = new User() {
         Login = "",
         Name = "",
         Password = ""
     };
     //Act
 }
Ejemplo n.º 2
0
 private static AccountController GetAccountController()
 {
     AccountController controller = new AccountController()
     {
         FormsService = new MockFormsAuthenticationService(),
         MembershipService = new MockMembershipService()
     };
     controller.ControllerContext = new ControllerContext()
     {
         Controller = controller,
         RequestContext = new RequestContext(new MockHttpContext(), new RouteData())
     };
     return controller;
 }