// TODO: customize your mock logic for s3 client
@Before
    public void setUp() throws IOException {
        event = TestUtils.parse("/s3-event.put.json", S3Event.class);
        // TODO: customize your mock logic for s3 client
        ObjectMetadata objectMetadata = new ObjectMetadata();
        objectMetadata.setContentType(CONTENT_TYPE);
        when(s3Object.getObjectMetadata()).thenReturn(objectMetadata);
        when(s3Client.getObject(getObjectRequest.capture())).thenReturn(s3Object);
    }
public void setUp() throws IOException {
event = TestUtils.parse("/s3-event.put.json", S3Event.class);
// TODO: customize your mock logic for s3 client
ObjectMetadata objectMetadata = new ObjectMetadata();
objectMetadata.setContentType(CONTENT_TYPE);
@Before
public void setUp() throws IOException {
event = TestUtils.parse("/s3-event.put.json", S3Event.class);
// TODO: customize your mock logic for s3 client
ObjectMetadata objectMetadata = new ObjectMetadata();
objectMetadata.setContentType(CONTENT_TYPE);
when(s3Object.getObjectMetadata()).thenReturn(objectMetadata);
when(s3Client.getObject(getObjectRequest.capture())).thenReturn(s3Object);
}
@Before
public void setUp() throws IOException {
event = TestUtils.parse("/s3-event.put.json", S3Event.class);
// TODO: customize your mock logic for s3 client
ObjectMetadata objectMetadata = new ObjectMetadata();
objectMetadata.setContentType(CONTENT_TYPE);
when(s3Object.getObjectMetadata()).thenReturn(objectMetadata);
when(s3Client.getObject(getObjectRequest.capture())).thenReturn(s3Object);
}