> + public void start() throws IOException {
> + super.start();
> + imageApi = api().images();
> + }
> +
> + ImageApi imageApi;
> +
> + public void get() throws Exception {
> + server.enqueue(jsonResponse("/image_get.json"));
> +
> +
> assertEquals(imageApi.get(URI.create(url("/projects/party/global/images/centos-6-2-v20120326"))),
> + new ParseImageTest().expected(url("/projects")));
> + assertSent(server, "GET",
> "/projects/party/global/images/centos-6-2-v20120326");
> + }
> +
> + public void getResponseIs4xx() throws Exception {
I've been switching to method_code convention lately.
Ex.
get, get_4xx
list, list_empty
createFromDisk
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/98/files#r20734593