> +
> + assertNotNull(response);
> + assertEquals(response.getId(), BUCKET_NAME + "/allUsers");
> + assertEquals(response.getRole(), Role.READER);
> + }
> +
> + @Test(groups = "live", dependsOnMethods = "testPatchBucketacl")
> + public void testDeleteBucketacl() {
> + api().deleteBucketAccessControls(BUCKET_NAME, "allUsers");
> + deleteBucket(BUCKET_NAME);
> + }
> +
> + @Test(groups = "live", dependsOnMethods = "testDeleteBucketacl",
> expectedExceptions = ResourceNotFoundException.class)
> + public void testDeleteNotExistingBucketAccessControls() {
> + api().deleteBucketAccessControls(BUCKET_NAME, "allUsers");
> + }
Do we also need a test where the _bucket_ exists but the entity does not exist?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/35/files#r17683161