Esempio n. 1
0
 public Validators()
 {
     _context        = TestHarness.GetContext();
     _validator      = new RegisterUser.Validator(_context);
     _hasher         = new PasswordHasher();
     _commandHandler = new RegisterUser.Handler(_context, _hasher);
 }
Esempio n. 2
0
 public Functionality()
 {
     _context        = TestHarness.GetContext();
     _hasher         = new PasswordHasher();
     _commandHandler = new RegisterUser.Handler(_context, _hasher);
 }