### Question:
SiteMapFilesCacheImpl extends CacheBuilderBase implements SiteMapFilesCache, SiteMapStructureCache.RefreshListener { private void removeCachedItemsAboveIndex(final ModifiableValueMap modifiableValueMap, final int indexOfStartItem) { int i = indexOfStartItem; String key = Integer.toString(i); while (modifiableValueMap.containsKey(key)) { modifiableValueMap.remove(key); key = Integer.toString(++i); } }  @Activate void activate(final SiteMapFilesCacheImplConfig config); @Deactivate void deactivate(); @Override String get(final Resource rootPage, final int index); @Override void onCacheRefreshed(final Resource rootPage, final List<SiteMapEntry> entries);  }### Answer:
@Test public void removeCachedItemsAboveIndex() { entries.add(createEntry(10)); for (int index = 1; index < 10; index++) { cache.putProperty(Integer.toString(index), VALUE); } assertNull(model.get(page, 0)); }