// Quiet mode does not list deleted objects in result
ObjectKeyAndVersion[] keyAndVersions = new ObjectKeyAndVersion[keys.length];
int i = 0;
for (String key: keys) {
s3Service.putObject(bucketName, new S3Object(key, "Some data"));
keyAndVersions[i++] = new ObjectKeyAndVersion(key);
}
result = s3Service.deleteMultipleObjects(bucketName, keyAndVersions, true);
assertFalse(result.hasErrors());
assertEquals(0, result.getDeletedObjectResults().size());
for (String key: keys) {