.payload(
payloadFromResourceWithContentType("/payloads/publicips-available-lastpage.xml",
normalize(PublicIpsDto.MEDIA_TYPE))) //
.build());
VirtualDatacenterDto vdc = new VirtualDatacenterDto();
vdc.addLink(new RESTLink("topurchase", "http://localhost/api/cloud/virtualdatacenters/1/publicips/topurchase"));
IpOptions options = IpOptions.builder().startWith(3).build();
PaginatedCollection<PublicIpDto, PublicIpsDto> ips = api.listAvailablePublicIps(vdc, options);
assertEquals(ips.size(), 2);