> +   }
> +
> +   public void deleteImage_2xx()  throws Exception {
> +      server.enqueue(jsonResponse("/operation.json"));
> +
> +      assertEquals(imageApi().delete("centos-6-2-v20120326"),
> +            new ParseOperationTest().expected(url("/projects")));
> +      assertSent(server, "DELETE", 
> "/projects/party/global/images/centos-6-2-v20120326");
> +   }
> +
> +   public void deleteImage_4xx() throws Exception {
> +      server.enqueue(response404());
> +
> +      assertNull(imageApi().delete("centos-6-2-v20120326"));
> +      assertSent(server, "DELETE", 
> "/projects/party/global/images/centos-6-2-v20120326");
> +   }

I believe there is a fallback to null here, right?

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

Reply via email to