@Test void createClientForEndpointUrl_withNullAmazonS3Client_throwsIllegalArgumentException() { AmazonS3ClientFactory amazonS3ClientFactory = new AmazonS3ClientFactory(); assertThatThrownBy(() -> amazonS3ClientFactory.createClientForEndpointUrl(null, "https: .hasMessageContaining("AmazonS3 must not be null"); }
public AmazonS3 createClientForEndpointUrl(AmazonS3 prototype, String endpointUrl) { return createClientForEndpointUrl(prototype, endpointUrl, null); }
AmazonS3ClientFactory { public AmazonS3 createClientForEndpointUrl(AmazonS3 prototype, String endpointUrl) { return createClientForEndpointUrl(prototype, endpointUrl, null); } }
AmazonS3ClientFactory { public AmazonS3 createClientForEndpointUrl(AmazonS3 prototype, String endpointUrl) { return createClientForEndpointUrl(prototype, endpointUrl, null); } AmazonS3ClientFactory(); }
AmazonS3ClientFactory { public AmazonS3 createClientForEndpointUrl(AmazonS3 prototype, String endpointUrl) { return createClientForEndpointUrl(prototype, endpointUrl, null); } AmazonS3ClientFactory(); AmazonS3 createClientForEndpointUrl(AmazonS3 prototype, String endpointUrl); }
AmazonS3ClientFactory { public AmazonS3 createClientForEndpointUrl(AmazonS3 prototype, String endpointUrl) { return createClientForEndpointUrl(prototype, endpointUrl, null); } AmazonS3ClientFactory(); AmazonS3 createClientForEndpointUrl(AmazonS3 prototype, String endpointUrl);  }