> +   @Test(groups = "live", dependsOnMethods = { "testListBucket", 
> "testGetBucket", "testUpdateBucket" })
> +   public void testDeleteBucket() {
> +      HttpResponse response = api().deleteBuckets(BUCKET_NAME);
> +      HttpResponse response2 = api().deleteBuckets(LOG_BUCKET_NAME);
> +
> +      assertNotNull(response);
> +      assertEquals(response.getStatusCode(), 204);
> +      assertNotNull(response2);
> +      assertEquals(response2.getStatusCode(), 204);
> +
> +   }
> +
> +   @Test(groups = "live", dependsOnMethods = { "testGetBucketWithOptions" })
> +   public void testDeleteBucketWithOptions() {
> +
> +      DeleteBucketOptions options = new 
> DeleteBucketOptions().ifMetagenerationMatch(metageneration)

Use the builder?

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

Reply via email to