@Test
public void testConvert0_SimpleJavaBean() throws Exception {

    Map<String, String> map = converter.convert(
            new SearchUserForm0("yamada", 20));
    assertThat(map.size(), is(2));
    assertThat(map, hasEntry("name", "yamada"));
    assertThat(map, hasEntry("age", "20"));
    // check reverse conversion
    SearchUserForm0 form = new SearchUserForm0();
    WebDataBinder binder = new WebDataBinder(form);
    binder.bind(new MutablePropertyValues(map));
    assertThat(form.getName(), is("yamada"));
    assertThat(form.getAge(), is(20));
}