### Question:
BooleanPropertyConverter extends AbstractPropertyConverter { @Override public Object convert(String value, Context context) { return Boolean.valueOf(value); }  @Override boolean supports(Class<?> type); @Override Object convert(String value, Context context);  }### Answer:
@Test public void testConvert() throws Exception { assertThat((Boolean) converter.convert("false", null), is(false)); assertThat((Boolean) converter.convert("true", null), is(true)); }