@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);
 }
 @BeforeClass
 protected void init() {
   super.initialize();
   String imageName = SSHABLE_IMAGE + ":" + SSHABLE_IMAGE_TAG;
   Image image = api.getImageApi().inspectImage(imageName);
   if (image == null) {
     CreateImageOptions options =
         CreateImageOptions.Builder.fromImage(SSHABLE_IMAGE).tag(SSHABLE_IMAGE_TAG);
     api.getImageApi().createImage(options);
   }
   defaultImage = api.getImageApi().inspectImage(imageName);
   assertNotNull(defaultImage);
 }