@Override
    public QueryCacheScheduler getQueryCacheScheduler() {
        return queryCacheScheduler;
    }
@Test
    public void testGetQueryCacheScheduler() {
        QueryCacheScheduler scheduler = context.getQueryCacheScheduler();
        assertNotNull(scheduler);

        final QuerySchedulerTask task = new QuerySchedulerTask();
        scheduler.execute(task);

        final QuerySchedulerRepetitionTask repetitionTask = new QuerySchedulerRepetitionTask();
        scheduler.scheduleWithRepetition(repetitionTask, 1);

        assertTrueEventually(() -> {
            assertTrue(task.executed);
            assertTrue(repetitionTask.counter.get() > 1);
        });

        scheduler.shutdown();
    }