示例#1
0
 public AccountCreateUserTest()
 {
     _uow = new Mock <IUserUnitOfWork>()
     {
         CallBase = true
     };
     _accountCreateValidation = new AccountCreateValidation(_uow.Object);
     _accountValidation       = new AccountValidation(_accountCreateValidation);
     _app = new Mock <AccountApplicationService>(_uow.Object, _accountValidation)
     {
         CallBase = true
     }.Object;
 }
 public AccountValidation(AccountCreateValidation createValidation)
 {
     CreateValidation = createValidation;
 }