S3Utils { static String getBucketName(Repository repository) { return repository.getHost(); } private  S3Utils();   }
@Test public void getBucketName() { assertEquals("maven.cagataygurturk.com", S3Utils.getBucketName(createRepository("/"))); }