UniversalDiscCache implements Cache { @Override public void clear() { this.delegate.clear(); } UniversalDiscCache(DiscCacheAware delegate); @Override void clear(); @Override Entry get(String key); @Override void put(String key, Entry entry); @Override void initialize(); @Override void invalidate(String key, boolean arg1); @Override void remove(String key);  }
@Test public void clearShouldCalled() { discCache.clear(); verify(delegate).clear(); }