public void SetUp() { userStoreMock = new Mock <IUserStore <User> >(); signupValidator = new Mock <IIdentityValidator <User> >(); userManagerMock = new Mock <UserManager <User> >(userStoreMock.Object); underTest = new SignUpOperation(userManagerMock.Object, signupValidator.Object); }
public void SetUp() { userStoreMock = new Mock <IUserStore <ApplicationUser> >(); userManagerMock = new Mock <UserManager <ApplicationUser> >(userStoreMock.Object); authManager = new Mock <IAuthenticationManager>(); signinManager = new SignUpOperation(userManagerMock.Object, authManager.Object); }