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

        Temporal temporal = renderer.convertToJava8DateTimeAPI(context, datePicker, type, "2/20/2019");
        assertEquals(type, temporal.getClass());
        assertEquals(LocalDate.of(2019, 02, 20), temporal);
    }
{@link ResolverStyle} == STRICT. The valid date 02/20/2019 should be
correctly parsed.
primefaces/src/test/java/org/primefaces/component/datepicker/DatePickerTest.java