@Test
public void testPickerFormatterEmptyFormats() {

    DateFormat[] formats = new DateFormat[0];
    DatePickerFormatter formatter = new DatePickerFormatter(formats);
    assertNotNull(formatter.getFormats());
    assertEquals(formats.length, formatter.getFormats().length);
}