@Test
    void convertToJava8DateTimeAPI_ResolveStyle_Strict_differentCase() {
        Class<?> type = LocalDate.class;
        setupValues(type, Locale.ENGLISH);
        when(datePicker.getResolverStyle()).thenReturn("strict");

        assertThrows(ConverterException.class, () -> renderer.convertToJava8DateTimeAPI(context, datePicker, type, "2/30/2019"));
    }
{@link ResolverStyle} == STRICT. The date 02/30/2019 should lead to a
thrown ConverterException.
primefaces/src/test/java/org/primefaces/component/datepicker/DatePickerTest.java