.payload(payloadFromResourceWithContentType("/imageparams.xml", "application/xml")).build();
public void testUpdateWhenResponseIs2xx() throws Exception {
HttpResponse updateResponse = HttpResponse.builder().statusCode(200).build();
AzureManagementApi apiWhenExist = requestSendsResponse(update, updateResponse);
OSImageParams params = OSImageParams.builder().name(IMAGE_NAME).label("foo").os(OSType.LINUX)
.mediaLink(URI.create("http://example.blob.core.windows.net/disks/mydisk.vhd")).build();
apiWhenExist.getOSImageApi().update(params);
}