CachingAspect { public Object clearCache(ProceedingJoinPoint call) throws Throwable{ return null; }  Object clearCache(ProceedingJoinPoint call); Object getFromCache(ProceedingJoinPoint call, Long userId); int getCacheHitCounter();  }
@Test public void testClearCache() { userStorageDao.get(1); userStorageDao.get(2); userStorageDao.save(new User()); assertThat(cachingAspect.getCacheHitCounter(), is(0)); }