checkFilters(request);
}
public void testReplaceHardDisks() throws SecurityException, NoSuchMethodException, IOException {
DiskManagementDto first = CloudResources.hardDiskPut();
DiskManagementDto second = CloudResources.hardDiskPut();
second.getEditLink().setHref(second.getEditLink().getHref() + "second");
Invokable<?, ?> method = method(CloudApi.class, "replaceHardDisks", VirtualMachineDto.class,
DiskManagementDto[].class);
GeneratedHttpRequest request = processor.apply(Invocation.create(method,
ImmutableList.<Object> of(CloudResources.virtualMachinePut(), new DiskManagementDto[] { first, second })));