Esempio n. 1
0
        public TransferMoneyShould()
        {
            SetupTestUsersAndAccounts();

            _testAccountRepository   = new TestAccountRepository();
            _notificationServiceMock = new Mock <INotificationService>();
            transformMoneyService    = new TransferMoney(_testAccountRepository, _notificationServiceMock.Object);
        }
Esempio n. 2
0
        public WithdrawMoneyShould()
        {
            _sourceUser = new User(Guid.NewGuid(), "Andy Smith", "*****@*****.**");

            _sourceAccountGuid = Guid.NewGuid();

            _testAccountRepository   = new TestAccountRepository();
            _notificationServiceMock = new Mock <INotificationService>();
            withdrawMoneyService     = new WithdrawMoney(_testAccountRepository, _notificationServiceMock.Object);
        }