> +      List<SKU> skus = api.getOSImageApi(location).listSKUs(publisher, 
> offer);
> +
> +      assertEquals(size(skus), 2);
> +
> +      assertSent(server, "GET", requestUrl + "/" + publisher + 
> "/artifacttypes/vmimage/offers/" + offer + "/skus" + apiversion);
> +   }
> +
> +   public void testVersions() throws InterruptedException {
> +      server.enqueue(jsonResponse("/versions.json"));
> +
> +      List<Version> versions = 
> api.getOSImageApi(location).listVersions(publisher, offer, sku);
> +
> +      assertEquals(size(versions), 2);
> +
> +      assertSent(server, "GET", requestUrl + "/" + publisher + 
> "/artifacttypes/vmimage/offers/" + offer + "/skus/" + sku + "/versions" + 
> apiversion);
> +   }

Done.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/273/files/74f8e9bf66e7427298c5c3c9567aa7d8284e0987#r65107766

Reply via email to