@Override
    public Object getCalendarValue(final int columnIndex, final Class<?> type, final Calendar calendar) throws SQLException {
        Object result = getCurrentQueryResult().getCalendarValue(columnIndex, type, calendar);
        wasNull = getCurrentQueryResult().wasNull();
        return result;
    }
@Test
    void assertGetCalendarValue() throws SQLException {
        QueryResult queryResult = mock(QueryResult.class);
        Calendar calendar = Calendar.getInstance();
        when(queryResult.getCalendarValue(1, Date.class, calendar)).thenReturn(new Date(0L));
        streamMergedResult.setCurrentQueryResult(queryResult);
        assertThat(streamMergedResult.getCalendarValue(1, Date.class, calendar), is(new Date(0L)));
    }