public TransferMoneyShould() { SetupTestUsersAndAccounts(); _testAccountRepository = new TestAccountRepository(); _notificationServiceMock = new Mock <INotificationService>(); transformMoneyService = new TransferMoney(_testAccountRepository, _notificationServiceMock.Object); }
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); }