@@ -0,0 +1,1354 @@
+package com.github.cstroe.spendhawk.report;%0A%0Aimport com.github.cstroe.spendhawk.report.impl.AllExpensesReport;%0Aimport com.github.cstroe.spendhawk.util.BaseIT;%0Aimport org.junit.Test;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.equalTo;%0Aimport static org.hamcrest.Matchers.is;%0A%0Apublic class AllExpensesReportIT extends BaseIT %7B%0A%0A    @Test%0A    public void testReport() throws Exception %7B%0A        startTransaction();%0A        ReportRunner runner = new AllExpensesReport();%0A%0A        runner.getParameters().stream().forEach(p -%3E %7B%0A            switch(p.getId()) %7B%0A                case %22startDate%22:%0A                    p.setValue(%221/1/2015%22);%0A                    return;%0A                case %22endDate%22:%0A                    p.setValue(%221/31/2015%22);%0A            %7D%0A        %7D);%0A%0A        runner.runReport();%0A        ReportResult result = runner.getResult();%0A%0A        Map%3CString,String%3E values = new HashMap%3C%3E();%0A        for(int i = 0; i %3C result.getNumRows(); i++) %7B%0A            values.put(result.getCell(i, 0), result.getCell(i, 1));%0A        %7D%0A%0A        assertThat(values.keySet().size(), is(2));%0A        assertThat(values.get(%22Groceries%22), is(equalTo(%22(91.09)%22)));%0A        assertThat(values.get(%22Eating Out%22), is(equalTo(%22(14.98)%22)));%0A        commitTransaction();%0A    %7D%0A%7D%0A

Test around AllExpensesReport.