@Test public void shouldReturnFalseStringWhenFalseBooleanIsSupplied() throws Exception { BooleanField field = new BooleanField(new HashMap<String, Object>(), _spanishLocale, _usLocale); assertEquals("false", field.convertToData(false)); }
@Test public void shouldReturnNullWhenNullBooleanIsSupplied() throws Exception { BooleanField field = new BooleanField(new HashMap<String, Object>(), _spanishLocale, _usLocale); assertNull(field.convertToData(null)); }