### Question:
S3RepositoryFactory implements RepositoryFactory { public S3RepositoryFactory() { this(S3Client.builder().build()); } S3RepositoryFactory();  S3RepositoryFactory(S3Client client); @Override Repository newInstance(String name, String url); @Override Set<String> getSupportedScheme();  }### Answer:
@Test public void testS3RepositoryFactory() { S3RepositoryFactory factory = new S3RepositoryFactory(); factory.newInstance("s3", "s3: factory.newInstance("s3", "s3: factory.newInstance("s3", "s3: }