@Test
public void testPickerFormatterNoDefaults() {

    Locale.setDefault(Locale.JAPAN);
    if (UIManagerExt.getString("JXDatePicker.longFormat", Locale
            .getDefault()) != null) {
        LOG.info("can't run formatter fallback - has format entry");
        return;
    }
    DatePickerFormatter formatter = new DatePickerFormatter();
    assertNotNull(formatter.getFormats());
    assertTrue("must have formats:  " + formatter.getFormats().length,
            formatter.getFormats().length > 0);
    assertEquals(DateFormat.getDateInstance(DateFormat.SHORT), formatter
            .getFormats()[0]);
}