SessionCacheFetcher extends CacheFetcher { @Override protected int getLocalCacheTime() { return AppSettings.getInstance().getInt(AppSettings.SESSION_LOCAL_CACHE_TIME); } SessionCacheFetcher(String rawToken);   }
@Test public void testGetLocalCacheTime() { SessionCacheFetcher fetcher = new SessionCacheFetcher("xxxx"); assertEquals(1234, fetcher.getLocalCacheTime()); }