final SystemClock clock = SystemClock.getDefaultInstance();
ProviderResult result = new ProviderResult(new Integer(1),
cache.getRootGroup(), true,
new PipelineCacheState(
clock.getCurrentTime().addPeriod(Period.inSeconds(2))));
async.update(result);
CacheableObjectProvider cacheableObjectProvider =
new ExpiredObjectsRemainExpiredCacheableObjectProvider(cache.getRootGroup());
assertNotNull("Integer object is retrievable via the cache",
cache.retrieve(cacheKey, cacheableObjectProvider));