public void itIgnoresAllButTheFirstAccountBalance() throws Exception {
for (int i = 0; i < 10; i++) {
txactions.add(new Txaction(account, decimal("-5.00"), now().minusDays(20+i)));
}
// create a balance in the middle of those txactions
accountBalances.add(new AccountBalance(account, decimal("5000"), now().minusDays(25)));
TxactionBalanceCalculator calculator = calculator();
assertEquals(money("100.00", USD), calculator.getBalance(txactions.get(0)));
assertEquals(money("110.00", USD), calculator.getBalance(txactions.get(1)));
assertEquals(money("115.00", USD), calculator.getBalance(txactions.get(2)));