public ResetPasswordCommandHandler(ILogger <ResetPasswordCommandHandler> logger, IAdminUnitOfWork adminUnitOfWork, IUserRepository userRepository,
                                    IUserTokenRepository userTokenRepository, ResetPasswordCommandValidator validator, IUserPasswordService userPasswordService)
 {
     this._logger              = logger;
     this._adminUnitOfWork     = adminUnitOfWork;
     this._userRepository      = userRepository;
     this._userTokenRepository = userTokenRepository;
     this._validator           = validator;
     this._userPasswordService = userPasswordService;
     this._validationResult    = new ValidationResult();
 }
 public void SetUp()
 {
     _sut = new ResetPasswordCommandValidator();
 }
예제 #3
0
 public ResetPasswordValidationTest()
 {
     // Arrange
     Validator = new ResetPasswordCommandValidator();
 }