@Before public void setUp() { BatchReportDirectoryHolder holder = new ImmutableBatchReportDirectoryHolder(tempFolder.newDir()); underTest = new BatchReportReaderImpl(holder); writer = new BatchReportWriter(holder.getDirectory()); }
public BatchReportReaderImpl(BatchReportDirectoryHolder batchReportDirectoryHolder) { this.delegate = new org.sonar.batch.protocol.output.BatchReportReader( batchReportDirectoryHolder.getDirectory()); }