@Test
    void validateMinMax_String_DateTime_German_wrongDate() {
        setupMinMaxDateTime(String.class, Locale.GERMAN, null);
        when(datePicker.getMindate()).thenReturn("12.11.2019 10:00");
        when(datePicker.getMaxdate()).thenReturn("11.11.2019 11:59");
        assertThrows(FacesException.class, () -> datePicker.validateMinMax(context));
        verify(datePicker, atLeastOnce()).getMindate();
        verify(datePicker, atLeastOnce()).getMaxdate();
    }
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