@Test void getObjectSizeForEmptyFile() { amazonS3.putObject(bucket, key2, ""); ObjectMetadata result = s3Client.getObjectMetadata(bucket, key2); assertThat(result.getContentLength()).isEqualTo(0L); }
ObjectMetadata getObjectMetadata(String bucket, String key) { return amazonS3.getObjectMetadata(bucket, key); }
S3Client { ObjectMetadata getObjectMetadata(String bucket, String key) { return amazonS3.getObjectMetadata(bucket, key); } }
S3Client { ObjectMetadata getObjectMetadata(String bucket, String key) { return amazonS3.getObjectMetadata(bucket, key); } S3Client(AmazonS3 amazonS3, boolean dryRunEnabled); }
S3Client { ObjectMetadata getObjectMetadata(String bucket, String key) { return amazonS3.getObjectMetadata(bucket, key); } S3Client(AmazonS3 amazonS3, boolean dryRunEnabled);  }
S3Client { ObjectMetadata getObjectMetadata(String bucket, String key) { return amazonS3.getObjectMetadata(bucket, key); } S3Client(AmazonS3 amazonS3, boolean dryRunEnabled);   }