@Test
public void evict() throws IOException {

  TemplateSource source = createMock(TemplateSource.class);
  @SuppressWarnings("unchecked")
  Cache<TemplateSource, Template> cache = createMock(Cache.class);
  cache.invalidate(source);
  replay(cache, source);
  new GuavaTemplateCache(cache).evict(source);
  verify(cache, source);
}