### Question:
S3BucketResource extends Resource { public S3BucketResource(String bucketName) { super("arn:aws:s3:::" + bucketName); } S3BucketResource(String bucketName);   }### Answer:
@Test public void testS3BucketResource() { S3BucketResource resource = new S3BucketResource("MyBucket"); assertEquals(resource.getId(), "arn:aws:s3:::MyBucket"); }