@Test
public void testPickerFormatterUIResourceDefaultLocale() {

    DatePickerFormatter formatter = new DatePickerFormatterUIResource();
    SimpleDateFormat format = (SimpleDateFormat) formatter.getFormats()[0];
    String pattern = UIManagerExt.getString("JXDatePicker.longFormat");
    if (pattern != null) {
        assertEquals(pattern, format.toPattern()); 
    } else {
        LOG.info("can't run test, no datePicker resource entries for Locale " + Locale.getDefault());
    }
}