Map<String, Object> map = Maps.newHashMap();
assertEquals(binder.bindToRequest(request, map).getPayload().getRawContent(), expected);
}
public void testChangeMemoryTo1536() throws IOException {
VAppImpl vApp = new VAppImpl("MyAppServer6", URI
.create("https://services.vcloudexpress/terremark.com/api/v0.8/vapp/4213"), Status.OFF, 4194304l, null,
ImmutableListMultimap.<String, String> of(), null, null, null, ImmutableSet.of(
ResourceAllocationSettingData.builder().instanceID("1").elementName("foo").resourceType(
ResourceType.PROCESSOR).virtualQuantity(2l).build(), ResourceAllocationSettingData
.builder().instanceID("2").elementName("foo").resourceType(ResourceType.MEMORY)