@Test
public void testPickerFormatterEmptyStringToValue() {

    DatePickerFormatter picker = new DatePickerFormatter(new DateFormat[0]);
    try {
        picker.stringToValue("unparseble");
    } catch (ParseException e) {
        // expected
    }
    // other exceptions are unexpected ...
}