@Test public void testPopulateCache() { userStorageDao.get(1); userStorageDao.get(1); assertThat(cachingAspect.getCacheHitCounter(), is(1)); }
public int getCacheHitCounter() { return cacheHitCounter; }
CachingAspect { public int getCacheHitCounter() { return cacheHitCounter; } }
CachingAspect { public int getCacheHitCounter() { return cacheHitCounter; }  }
CachingAspect { public int getCacheHitCounter() { return cacheHitCounter; }  Object clearCache(ProceedingJoinPoint call); Object getFromCache(ProceedingJoinPoint call, Long userId); int getCacheHitCounter(); }
CachingAspect { public int getCacheHitCounter() { return cacheHitCounter; }  Object clearCache(ProceedingJoinPoint call); Object getFromCache(ProceedingJoinPoint call, Long userId); int getCacheHitCounter();  }