// (don't clear from cache, next doc should check cache but remove expired value)
// 4.2] Test expired then cached query
// (currently need to clear the doc cache to make this work - see tests that need to be added properly, listed above)
queryEngine.test_cacheClear(false, true, fakeEndpoint.parentSource.getKey());
queryEngine.test_cacheExpire();
docs.remove(0);
queryId = new ObjectId();
queryEngine.preQueryActivities(queryId, query, communityIdStrs);
queryEngine.test_CheckIfQueryLaunched("4.2", true); // (ie check no query added - because it was in the cache)
queryEngine.postQueryActivities(queryId, docs, rp);