### Question:
LegacyLocalReportRepository implements ReportRepository { @Override public String getReportService(String id) { id = id.substring(id.indexOf('_') + 1); return m_localReportsDao.getReportService(id); } LegacyLocalReportRepository(LocalReportsDao localReportsDao, LocalJasperReportsDao localJasperReportsDao); @Override List<BasicReportDefinition> getReports(); @Override List<BasicReportDefinition> getOnlineReports(); @Override String getReportService(String id); @Override String getDisplayName(String id); @Override String getEngine(String id); @Override InputStream getTemplateStream(String id); @Override String getRepositoryId(); @Override String getRepositoryName(); @Override String getRepositoryDescription(); @Override String getManagementUrl(); void setLocalReportsDao(LocalReportsDao localReportsDao); LocalReportsDao getLocalReportsDao(); void setLocalJasperReportsDao(LocalJasperReportsDao localJasperReportsDao); LocalJasperReportsDao getLocalJasperReportsDao(); @Override void loadConfiguration();  }### Answer:
@Test public void testGetReportService() throws Exception { assertEquals("Test get mocket report service from repository by sample-report", "jasperReportServiceMockup", m_legacyLocalReportRepository.getReportService("sample-report")); }