### Question:
JasperReportService implements ReportService { public boolean validate(HashMap<String, Object> reportParms, String reportId) { return true; } JasperReportService(); List<ReportFormat> getFormats(String reportId); ReportParameters getParameters(String reportId); void render(String ReportId, String location, ReportFormat format,
                       OutputStream outputStream); String run(HashMap<String, Object> reportParms, String reportId); void runAndRender(HashMap<String, Object> reportParms,
                             String reportId, ReportFormat format, OutputStream outputStream); boolean validate(HashMap<String, Object> reportParms,
                            String reportId); void setGlobalReportRepository(GlobalReportRepository globalReportRepository);  }### Answer:
@Test public void testValidate() { HashMap<String, Object> reportParms = new HashMap<String, Object>(); Assert.assertTrue(m_reportService.validate(reportParms, REPORTID)); }