@Test(expected = IllegalArgumentException.class) public void testConvertInvalidFalse() throws Exception { converter.convert("fasle"); }
@Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); }
BooleanValueConverter extends AbstractValueConverter<Boolean> { @Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); } }
BooleanValueConverter extends AbstractValueConverter<Boolean> { @Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); }  }
BooleanValueConverter extends AbstractValueConverter<Boolean> { @Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); }  @Override Boolean convert(String s); @Override String toString(Boolean value); }
BooleanValueConverter extends AbstractValueConverter<Boolean> { @Override public Boolean convert(String s) { if (TRUE.equals(s) || FALSE.equals(s)) { return Boolean.valueOf(s); } throw new IllegalArgumentException("Can't convert '" + s + "' to Boolean."); }  @Override Boolean convert(String s); @Override String toString(Boolean value); static final BooleanValueConverter INSTANCE; }