@Test
    void validateValueInternal_disabledDates_LocalDate_wrong() {
        when(datePicker.getDisabledDates()).thenReturn(Arrays.asList(LocalDate.of(2019, 7, 22), LocalDate.of(2019, 7, 24)));
        DatePicker.ValidationResult validationResult = datePicker.validateValueInternal(context, LocalDate.of(2019, 7, 22));
        assertFalse(datePicker.isValid());
        assertEquals(DatePicker.ValidationResult.INVALID_DISABLED_DATE, validationResult);
    }
Invalid {@link ResolverStyle}. The date 02/30/2019 is silently parsed to
02/28/2019 as default value 'SMART' is used.
primefaces/src/test/java/org/primefaces/component/datepicker/DatePickerTest.java