### Question:
S3S3CopierOptions { public URI getS3Endpoint() { return s3Endpoint(Keys.S3_ENDPOINT_URI.keyName()); } S3S3CopierOptions();  S3S3CopierOptions(Map<String, Object> copierOptions); void setMaxThreadPoolSize(int maxThreadPoolSize); int getMaxThreadPoolSize(); Long getMultipartCopyThreshold(); Long getMultipartCopyPartSize(); URI getS3Endpoint(); URI getS3Endpoint(String region); Boolean isS3ServerSideEncryption(); CannedAccessControlList getCannedAcl(); String getAssumedRole(); int getAssumedRoleCredentialDuration(); int getMaxCopyAttempts();  }### Answer:
@Test public void getS3Endpoint() throws Exception { copierOptions.put(S3S3CopierOptions.Keys.S3_ENDPOINT_URI.keyName(), "http: S3S3CopierOptions options = new S3S3CopierOptions(copierOptions); assertThat(options.getS3Endpoint(), is(URI.create("http: }
@Test public void getS3EndpointDefaultIsNull() throws Exception { S3S3CopierOptions options = new S3S3CopierOptions(copierOptions); assertNull(options.getS3Endpoint()); }