use of org.mifos.reports.branchreport.helper.BranchReportClientSummaryBatchBOExtractor in project head by mifos.
the class BranchReportClientSummaryHelperIntegrationTest method assertClientSummary.
private void assertClientSummary(BranchReportBO branchReport) throws PersistenceException {
Assert.assertNotNull(branchReport.getBranchReportId());
Set<BranchReportClientSummaryBO> branchReportClientSummaries = branchReport.getClientSummaries();
Assert.assertNotNull(branchReportClientSummaries);
Assert.assertEquals(12, branchReportClientSummaries.size());
Predicate predicate = new BranchReportClientSummaryBatchBOExtractor().matchAllPredicates(branchReportClientSummaries);
Assert.assertNull(predicate + " not found in summaries", predicate);
}
Aggregations