### Question:
ExportExecutionApi { public ReportExportOutput downloadExport(String execId, String exportId) throws ServiceException { try { ExportOutputResource result = mReportExportRestApi.requestExportOutput(execId, exportId); return mReportExportMapper.transform(result); } catch (HttpException e) { throw mExceptionMapper.transform(e); } catch (IOException e) { throw mExceptionMapper.transform(e); } } ExportExecutionApi(ServiceExceptionMapper exceptionMapper,
                       ReportExportRestApi reportExportRestApi,
                       ExportOptionsMapper exportOptionsMapper,
                       ReportExportMapper reportExportMapper,
                       AttachmentExportMapper attachmentExportMapper); ExportExecutionDescriptor start(String execId, ReportExportOptions reportExportOptions); ExecutionStatus awaitReadyStatus(String execId, String exportId, String reportUri, long delay); ReportExportOutput downloadExport(String execId, String exportId); ResourceOutput downloadAttachment(String execId, String exportId, String attachmentId);  }### Answer:
@Test public void testDownloadExport() throws Exception { when(mReportExportRestApi.requestExportOutput(anyString(), anyString())).thenReturn(export); exportExecutionApi.downloadExport(EXEC_ID, EXPORT_ID); verify(mReportExportRestApi).requestExportOutput(EXEC_ID, EXPORT_ID); verify(mReportExportMapper).transform(export); }