@Test public void shouldReturnBooleanWhenFalseStringIsSupplied() throws Exception { BooleanField field = new BooleanField(new HashMap<String, Object>(), _spanishLocale, _usLocale); assertFalse(field.convertFromString("false")); }
@Test public void shouldReturnNullWhenNullStringIsSupplied() throws Exception { BooleanField field = new BooleanField(new HashMap<String, Object>(), _spanishLocale, _usLocale); assertNull(field.convertFromString(null)); }