public static Optional<Object[]> coerceParams(Class<?> currentIdxActualParameterType, Class<?> expectedParameterType, Object[] actualParams, int i) {
        Object actualObject = actualParams[i];
        Optional<Object> coercedObject = coerceParam(currentIdxActualParameterType, expectedParameterType,
                                                     actualObject);
        return coercedObject.map(o -> actualCoerceParams(actualParams, o, i));
    }
@Test
    void coerceParamsNotConverted() {
        Object item = "TESTED_OBJECT";
        Object value = Collections.singleton(item);
        Object[] actualParams1 = {value, "NOT_DATE"};
        Optional<Object[]> retrieved = CoerceUtil.coerceParams(Set.class, BigDecimal.class, actualParams1, 0);
        assertNotNull(retrieved);
        assertTrue(retrieved.isEmpty());

        value = LocalDate.now();
        Object[] actualParams2 = {value, "NOT_DATE"};
        retrieved = CoerceUtil.coerceParams(LocalDate.class, String.class, actualParams2, 0);
        assertNotNull(retrieved);
        assertTrue(retrieved.isEmpty());
    }