@Test
public void testDeleteEventReport()
{

    programService.addProgram( program );
    EventReport eventReport = new EventReport( "A" );
    eventReport.setProgram( program );
    eventReportService.saveEventReport( eventReport );
    dashboardItem.setEventReport( eventReport );
    dashboardService.saveDashboard( dashboard );
    assertEquals(1, dashboardService.getEventReportDashboardItems( eventReport ).size() );
    assertEquals( 1, dashboard.getItemCount() );
    eventReportService.deleteEventReport( eventReport );
    assertEquals(0, dashboardService.getEventReportDashboardItems( eventReport ).size() );
    assertEquals( 0, dashboard.getItemCount() );
}