> +      GetBucketOptions options = new 
> GetBucketOptions().ifMetagenerationMatch(metageneration);
> +      Bucket response = api().getBuckets(BUCKET_NAME_WITHOPTIONS, options);
> +
> +      assertNotNull(response);
> +      assertEquals(response.getName(), BUCKET_NAME_WITHOPTIONS);
> +      assertEquals(response.getKind(), Kind.BUCKET);
> +   }
> +
> +   @Test(groups = "live", dependsOnMethods = "testCreateBucket")
> +   public void testListBucket() {
> +      ListPage<Bucket> bucket = api().listBuckets(PROJECT_NUMBER);
> +
> +      Iterator<Bucket> pageIterator = bucket.iterator();
> +      assertTrue(pageIterator.hasNext());
> +
> +      Bucket singlePageIterator = pageIterator.next();

Why is this called `singlePageIterator` when it's a Bucket?

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

Reply via email to