### Question:
BooleanConverter extends DefaultObjectConverter<Boolean> { @Override public String toString(Boolean object, ConverterContext context) { if (Boolean.FALSE.equals(object)) { return getFalse(); } else if (Boolean.TRUE.equals(object)) { return getTrue(); } else { return getNull(); } } BooleanConverter(); @Override String toString(Boolean object, ConverterContext context); @Override Boolean fromString(String string, ConverterContext context);  }### Answer:
@Test public void testToString() throws Exception { Assert.assertEquals("True", _converter.toString(true)); Assert.assertEquals("False", _converter.toString(false)); }