.build();
HttpResponse updateResponse = HttpResponse.builder().statusCode(200)
.payload(payloadFromResource("/image.json")).build();
GlanceApi apiWhenExist = requestsSendResponses(keystoneAuthWithUsernameAndPassword,
responseWithKeystoneAccess, get, updateResponse);
assertEquals(apiWhenExist.getConfiguredZones(), ImmutableSet.of("az-1.region-a.geo-1"));
assertEquals(apiWhenExist.getImageApiForZone("az-1.region-a.geo-1")
.update("fcc451d0-f6e4-4824-ad8f-70ec12326d07",
UpdateImageOptions.Builder.name("newname"),
UpdateImageOptions.Builder.isPublic(true),
UpdateImageOptions.Builder.isProtected(true),
UpdateImageOptions.Builder.checksum("XXXX"),