@Test public void should_list_file_in_report_directory() throws IOException { Path reportDirectory = generateFileReport(); PerformanceService performanceService = new PerformanceService(ingestClientFactory, adminClientFactory, null, reportDirectory, UserInterfaceTransactionManager.getInstance()); List<Path> files = performanceService.listReportDirectory(); assertThat(files).hasSize(2); }
List<Path> listReportDirectory() throws IOException { return listDirectory(performanceReportDirectory); }
PerformanceService { List<Path> listReportDirectory() throws IOException { return listDirectory(performanceReportDirectory); } }
PerformanceService { List<Path> listReportDirectory() throws IOException { return listDirectory(performanceReportDirectory); } PerformanceService(Path sipDirectory, Path performanceReportDirectory);   PerformanceService(IngestExternalClientFactory ingestClientFactory,
        AdminExternalClientFactory adminClientFactory, Path sipDirectory,
        Path performanceReportDirectory, UserInterfaceTransactionManager userInterfaceTransactionManager); }
PerformanceService { List<Path> listReportDirectory() throws IOException { return listDirectory(performanceReportDirectory); } PerformanceService(Path sipDirectory, Path performanceReportDirectory);   PerformanceService(IngestExternalClientFactory ingestClientFactory,
        AdminExternalClientFactory adminClientFactory, Path sipDirectory,
        Path performanceReportDirectory, UserInterfaceTransactionManager userInterfaceTransactionManager);  }
PerformanceService { List<Path> listReportDirectory() throws IOException { return listDirectory(performanceReportDirectory); } PerformanceService(Path sipDirectory, Path performanceReportDirectory);   PerformanceService(IngestExternalClientFactory ingestClientFactory,
        AdminExternalClientFactory adminClientFactory, Path sipDirectory,
        Path performanceReportDirectory, UserInterfaceTransactionManager userInterfaceTransactionManager);   }