> +   public void testVersion() {
> +      Assert.assertEquals(api().getVersion().getVersion(), "0.9.0");
> +   }
> +
> +   @Test(dependsOnMethods = "testVersion")
> +   public void testCreateImage() throws IOException, InterruptedException {
> +      CreateImageOptions options = 
> CreateImageOptions.Builder.fromImage(BUSYBOX_IMAGE);
> +      InputStream createImageStream = api().createImage(options);
> +      consumeStream(createImageStream, false);
> +      image = api().inspectImage(BUSYBOX_IMAGE);
> +      assertNotNull(image);
> +   }
> +
> +   @Test(dependsOnMethods = "testCreateImage")
> +   public void testListImages() {
> +      Assert.assertNotNull(api().listImages());

There are more after this one. Use them in general in this class.

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

Reply via email to