public void ReturnAStatementLineWithAGivenFormatProvider()
        {
            var transaction = new Transaction(1000m, new DateTime(2015, 9, 19));
            var statementLine = new StatementLine(transaction, 1500m);

            Assert.AreEqual(statementLine.CreateWith(_formatProvider), " | 19/09/2015 | 1,000.00 | 1,500.00");
        }
 private void PrintStatementLines(ITransactionRepository transactionRepository)
 {
     decimal balance = transactionRepository.CurrentBalance();
     foreach (var transaction in transactionRepository.AllTransactionsInReverseChronologicalOrder())
     {
         var statementLine = new StatementLine(transaction, balance);
         _console.WriteLine(statementLine.CreateWith(_formatProvider));
         balance -= transaction.Amount();
     }
 }