final Txaction txaction1 = new Txaction(account, decimal("-30.00"), date(2009, 2, 13));
final Txaction txaction2 = new Txaction(account, decimal("-30.00"), date(2009, 2, 14));
final IntervalSummarizer summarizer = new IntervalSummarizer(new CurrencyExchangeRateMap());
this.summaries = summarizer.summarize(ImmutableList.of(txaction1, txaction2), interval, IntervalType.MONTHLY, USD, null);
}
@Test
public void itSummarizesAllOfTheTxactions() throws Exception {
final List<MonetarySummaryWithSplits> values = ImmutableList.copyOf(summaries.values());