@Override
    public <R> QueryResult<R> query(final Query<R> query, final PositionBound positionBound, final QueryConfig config) {
        return internal.query(query, positionBound, config);
    }
@SuppressWarnings("unchecked")
    @Test
    public void shouldDelegateAndAddExecutionInfoOnCustomQuery() {
        final Query query = mock(Query.class);
        final PositionBound positionBound = mock(PositionBound.class);
        final QueryConfig queryConfig = mock(QueryConfig.class);
        final QueryResult result = mock(QueryResult.class);
        when(inner.query(query, positionBound, queryConfig)).thenReturn(result);
        when(queryConfig.isCollectExecutionInfo()).thenReturn(true);

        assertThat(store.query(query, positionBound, queryConfig), is(result));
        verify(result).addExecutionInfo(anyString());
    }