public void SetUp() { userRepositoryMock = new Mock<IUserRepository>(); authenticationService = new AuthenticationService(userRepositoryMock.Object); userName = "******"; password = "******"; branchName = "branch1"; }
public SsepsIIMembershipProvider() { var userService = new SystemUserService(); userService.EncryptionService = new EncryptionService(); userService.CacheService = new CacheService(); var authService = new AuthenticationService { EncryptionService = userService.EncryptionService, SystemUserService = userService }; this.AuthenticationService = authService; }