### Question:
DefaultGlobalReportRepository implements GlobalReportRepository { @Override public List<BasicReportDefinition> getOnlineReports(String repositoryId) { List<BasicReportDefinition> results = new ArrayList<BasicReportDefinition>(); ReportRepository repository = this.getRepositoryById(repositoryId); if (repository != null) { results.addAll(repository.getOnlineReports()); } logger.debug("getOnlineReports was called for: '{}' result: '{}'", repositoryId, results); return results; } DefaultGlobalReportRepository(RemoteRepositoryConfigDao remoteRepositoryConfigDao, ReportRepository localReportRepository); @Override List<BasicReportDefinition> getAllReports(); @Override List<BasicReportDefinition> getReports(String repositoryId); @Override List<BasicReportDefinition> getAllOnlineReports(); @Override List<BasicReportDefinition> getOnlineReports(String repositoryId); @Override String getReportService(String reportId); @Override String getDisplayName(String reportId); @Override String getEngine(String reportId); @Override InputStream getTemplateStream(String reportId); @Override List<ReportRepository> getRepositoryList(); @Override void addReportRepository(ReportRepository repository); @Override ReportRepository getRepositoryById(String repositoryId); void setLocalReportRepository(ReportRepository reportRepository); ReportRepository getReportRepository(); void setRemoteRepositoryConfigDao(RemoteRepositoryConfigDao remoteRepositoryConfigDao); RemoteRepositoryConfigDao getRemoteRepositoryConfigDao(); @Override void reloadConfigurationFiles();  }### Answer:
@Test public void getOnlineReportsTest() { }