public static <T> T autobox(Object value, Class<T> type) {
        return Autoboxer.autobox(value, type);
    }
@Test
    void testAutoboxClob() throws SQLException {
        Clob clob = Mockito.mock(Clob.class);
        String result = "the result";

        Mockito.when(clob.length()).thenReturn((long) result.length());
        Mockito.when(clob.getSubString(1, result.length())).thenReturn(result);

        assertThat(ReflectionUtils.autobox(clob, String.class)).isEqualTo(result);
    }