@Test
public void testFormLoad() {
Map<String, Object> data = new HashMap<String, Object>();
data.put("d", 3.141);
ExtDirectFormLoadResult wrapper = (ExtDirectFormLoadResult) ControllerUtil
.sendAndReceive(mockMvc, "remoteProviderFormLoad", "method1",
ExtDirectFormLoadResult.class, data);
assertThat(wrapper.isSuccess()).isTrue();
assertThat(wrapper.getData()).isNotNull();
FormInfo info = ControllerUtil.convertValue(wrapper.getData(), FormInfo.class);
assertThat(info.getBack()).isEqualTo(3.141);
assertThat(info.isAdmin()).isEqualTo(true);
assertThat(info.getAge()).isEqualTo(31);
assertThat(info.getName()).isEqualTo("Bob");
assertThat(info.getSalary()).isEqualTo(new BigDecimal("10000.55"));