@Test
  public void testReturnsObject() throws IOException {
    FormInfo info =
        (FormInfo)
            ControllerUtil.sendAndReceive(
                controller, "remoteProviderSimple", "method8", a(7.34), FormInfo.class);

    assertThat(info.getBack()).isEqualTo(7.34);
    assertThat(info.isAdmin()).isEqualTo(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());
  }