### Question:
CommonBeans { @Bean @Profile("default") public AmazonS3 amazonS3() { return AmazonS3ClientBuilder.defaultClient(); }  @Bean @Profile("default") AmazonS3 amazonS3(); @Bean S3Client s3Client(AmazonS3 amazonS3, @Value("${properties.dry-run-enabled}") boolean dryRunEnabled);  }### Answer:
@Test void typicalAmazonClient() { AmazonS3 amazonS3 = commonBeans.amazonS3(); URL url = amazonS3.getUrl(BUCKET, KEY); assertThat(url.getHost()).isEqualTo(String.join(".", BUCKET, AWS_ENDPOINT)); }