> +         .predefinedAcl(PredefinedAcl.PUBLIC_READ_WRITE);
> +
> +      assertEquals(objectApi().simpleUpload("bucket_name", "text/plain",
> +            p.getPayload().getContentMetadata().getContentLength(), 
> p.getPayload(), options),
> +            new ParseGoogleCloudStorageObject().expected());
> +
> +      RecordedRequest request = assertSent(server, "POST", 
> "/upload/storage/v1/b/bucket_name/o" +
> +         "?uploadType=media&name=new_object&predefinedAcl=publicReadWrite", 
> null);
> +      assertEquals(request.getHeader("Content-Type"), "text/plain");
> +      assertEquals(new String(request.getBody(), UTF_8), testPayload);
> +   }
> +
> +   public void delete() throws Exception {
> +      server.enqueue(new MockResponse());
> +
> +      // Question: Should this be returning True on not found?

Mark as TODO?

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

Reply via email to