FileReadingCollector.FileFormat.JSON,
compression,
ImmutableMap.<String, FileInputFactory>of("s3", new FileInputFactory() {
@Override
public FileInput create() throws IOException {
return new S3FileInput(new S3ClientHelper() {
@Override
protected AmazonS3 initClient(String accessKey, String secretKey) throws IOException {
AmazonS3 client = mock(AmazonS3Client.class);
ObjectListing objectListing = mock(ObjectListing.class);
S3ObjectSummary summary = mock(S3ObjectSummary.class);