### Question:
ConcurrentMapTemplateCache implements TemplateCache { @Override public void clear() { cache.clear(); } protected  ConcurrentMapTemplateCache(
      final ConcurrentMap<TemplateSource, Pair<TemplateSource, Template>> cache);  ConcurrentMapTemplateCache(); @Override void clear(); @Override void evict(final TemplateSource source); @Override Template get(final TemplateSource source, final Parser parser); @Override ConcurrentMapTemplateCache setReload(final boolean reload);  }### Answer:
@Test public void clear() throws IOException { @SuppressWarnings("unchecked") ConcurrentMap<TemplateSource, Pair<TemplateSource, Template>> cache = createMock( ConcurrentMap.class); cache.clear(); replay(cache); new ConcurrentMapTemplateCache(cache).clear(); verify(cache); }