@Test public void shouldCleanCache() throws Exception { cacheCleaner.cleanCache(); verify(contentCache).clear(); }
public void cleanCache() { contentCache.clear(); LOG.debug("content cache has been cleared"); }
CacheCleaner { public void cleanCache() { contentCache.clear(); LOG.debug("content cache has been cleared"); } }
CacheCleaner { public void cleanCache() { contentCache.clear(); LOG.debug("content cache has been cleared"); }  }
CacheCleaner { public void cleanCache() { contentCache.clear(); LOG.debug("content cache has been cleared"); }  void cleanCache(); }
CacheCleaner { public void cleanCache() { contentCache.clear(); LOG.debug("content cache has been cleared"); }  void cleanCache();  }