### Question:
BooleanStringConverter implements Converter { @Override public Object coerceToUi(Object value, Component comp, BindContext ctx) { String string = (String) value; return Boolean.parseBoolean(string); }  @Override Object coerceToUi(Object value, Component comp, BindContext ctx); @Override Object coerceToBean(Object value, Component comp, BindContext ctx);  }### Answer:
@Test public void testMixedCaseStringShouldBeConvertedToTrue() throws Exception { String sTrue = "TrUe"; assertEquals(boolStrConverter.coerceToUi(sTrue, null, null), true); }
@Test public void testMixedCaseStringShouldBeConvertedToFalse() throws Exception { String sFalse = "fALSe"; assertEquals(boolStrConverter.coerceToUi(sFalse, null, null), false); }