+ "\" rel=\"" + binder.getRelToUse(volume) + "\"/></links>"), LinksDto.class);
}
public void testBindMultipleVolumes() throws IOException {
VolumeManagementDto volume = CloudResources.volumePut();
BindVolumeRefsToPayload binder = new BindVolumeRefsToPayload(new JAXBParser("false"));
HttpRequest request = HttpRequest.builder().method("GET").endpoint(URI.create("http://localhost")).build();
request = binder.bindToRequest(request, new VolumeManagementDto[] { volume, volume });
assertPayloadEquals(request.getPayload(), withHeader("<links><link href=\"" + volume.getEditLink().getHref()
+ "\" rel=\"" + binder.getRelToUse(volume) + "\"/></links>"), LinksDto.class);
}