assertEquals("false", converter.convertToString(Boolean.FALSE, Locale.getDefault()));
assertEquals(Boolean.TRUE, converter.convertToObject("true", Locale.getDefault()));
assertEquals(Boolean.FALSE, converter.convertToObject("false", Locale.getDefault()));
try
{
converter.convertToObject("whatever", Locale.getDefault());
fail("Conversion should have thrown an exception");
}
catch (ConversionException e)
{
// this is correct