### Question:
DefaultRemoteRepository implements ReportRepository { @Override public List<BasicReportDefinition> getOnlineReports() { List<BasicReportDefinition> resultReports = new ArrayList<BasicReportDefinition>(); List<RemoteReportSDO> webCallResult = new ArrayList<RemoteReportSDO>(); if (isConfigOk()) { m_webResource = m_client.resource(m_remoteRepositoryDefintion.getURI() + "onlineReports" + "/" + m_jasperReportsVersion); try { webCallResult = m_webResource.get(new GenericType<List<RemoteReportSDO>>() { }); } catch (Exception e) { logger.error("Error requesting online reports. Error message: '{}' URI was: '{}'", e.getMessage(), m_webResource.getURI()); e.printStackTrace(); } logger.debug("getOnlineReports got '{}' RemoteReportSDOs from uri '{}'", webCallResult.size(), m_webResource.getURI()); resultReports = this.mapSDOListToBasicReportList(webCallResult); } return resultReports; } DefaultRemoteRepository(
            RemoteRepositoryDefinition remoteRepositoryDefinition,
            String jasperReportsVersion); @Override List<BasicReportDefinition> getReports(); @Override List<BasicReportDefinition> getOnlineReports(); @Override String getReportService(String reportId); @Override String getDisplayName(String reportId); @Override String getEngine(String reportId); @Override InputStream getTemplateStream(String reportId); @Override String getRepositoryId(); @Override String getRepositoryName(); @Override String getRepositoryDescription(); @Override String getManagementUrl(); @Override void loadConfiguration();  }### Answer:
@Test public void getOnlineReports() { List<BasicReportDefinition> reports = m_defaultRemoteRepository.getOnlineReports(); logger.debug("getOnlineReports"); for (BasicReportDefinition report : reports) { logger.debug(report.toString()); } }