public void Deposit(decimal amount) { var transaction = new Transaction(dateProvider.TodaysDate, amount); transactionsStore.SaveNew(transaction); }
public void SaveNew(Transaction transaction) { transactionsStoreMock.SaveNew(transaction); }