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

        Temporal temporal = renderer.convertToJava8DateTimeAPI(context, datePicker, type, "2/30/2019");
        assertEquals(type, temporal.getClass());
        assertEquals(LocalDate.of(2019, 03, 02), temporal);
    }
{@link ResolverStyle} == LENIENT. The date 02/30/2019 is silently parsed
to 03/02/2019.
primefaces/src/test/java/org/primefaces/component/datepicker/DatePickerTest.java