> +
> +   protected static final String BUCKET_NAME = "jcloudtestbucketdefaultoacl" 
> + UUID.randomUUID();
> +
> +   private DefaultObjectAccessControlsApi api() {
> +      return api.getDefaultObjectAccessControlsApi();
> +   }
> +
> +   private void createBucket(String BucketName) {
> +      BucketTemplate template = new BucketTemplate().name(BucketName);
> +      Bucket response = api.getBucketApi().createBucket(PROJECT_NUMBER, 
> template);
> +      assertNotNull(response);
> +   }
> +
> +   @Test(groups = "live")
> +   public void testCreateDefaultObjectacl() {
> +      createBucket(BUCKET_NAME);

Move this out into a "before test" class, and ensure the bucket is cleaned up 
again in an "after test" class?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/36/files#r17685625

Reply via email to