@Test
public void testReturnsObject() {
Map<String, Object> params = new LinkedHashMap<String, Object>();
params.put("d", 7.34);
FormInfo info = (FormInfo) ControllerUtil.sendAndReceiveNamed(mockMvc,
"remoteProviderSimpleNamed", "method5", FormInfo.class, params);
assertThat(info.getBack()).isEqualTo(7.34);
assertThat(info.isAdmin()).isEqualTo(Boolean.FALSE);
assertThat(info.getAge()).isEqualTo(32);
assertThat(info.getName()).isEqualTo("John");
assertThat(info.getSalary()).isEqualTo(new BigDecimal("8720.2"));
assertThat(info.getBirthday()).isEqualTo(
new GregorianCalendar(1986, Calendar.JULY, 22).getTime());
}