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

        Temporal temporal = renderer.convertToJava8DateTimeAPI(context, datePicker, type, "10:11");
        assertEquals(type, temporal.getClass());
        assertEquals(LocalTime.of(10, 11), temporal);
    }
{@link ResolverStyle} == STRICT. The valid time 10:11 should be correctly
parsed.
primefaces/src/test/java/org/primefaces/component/datepicker/DatePickerTest.java