@Test
public void testPickerFormatterDefaultConstructor() {

    DatePickerFormatter formatter = new DatePickerFormatter();
    assertNotNull(formatter.getFormats());
    int uiFormats = 0;
    if (UIManagerExt.getString("JXDatePicker.longFormat") != null) {
        uiFormats++;
    }
    if (UIManagerExt.getString("JXDatePicker.mediumFormat") != null) {
        uiFormats++;
    }
    if (UIManagerExt.getString("JXDatePicker.shortFormat") != null) {
        uiFormats++;
    }
    if (uiFormats == 0) {
        uiFormats = 1;
    }
    assertEquals(uiFormats, formatter.getFormats().length);
}