BooleanConverter implements Converter<String, Object, Component> { @Override public Boolean coerceToBean(String compAttr, Component component, BindContext ctx) { return null; }  @Override String coerceToUi(Object beanProp, Component component, BindContext ctx); @Override Boolean coerceToBean(String compAttr, Component component, BindContext ctx);  }
@Test public void testCoerceToBean() throws Exception { assertNull(new BooleanConverter().coerceToBean(null, null, null)); assertNull(new BooleanConverter().coerceToBean("yes", null, null)); }