@Test
public void totalFlagsTest() throws Exception {

    final List<Document> result = corruptionRiskDashboardIndicatorsStatsController.totalFlags(new
            YearFilterPagingRequest());
    Assert.assertEquals(2,
            result.get(0).get(CorruptionRiskDashboardIndicatorsStatsController.Keys.FLAGGED_COUNT));
}