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