SessionCacheFetcher extends CacheFetcher { @Override protected int getRemoteCacheTime() { throw new UnsupportedOperationException(); } SessionCacheFetcher(String rawToken);   }
@Test public void testGetRemoteCacheTime() { SessionCacheFetcher fetcher = new SessionCacheFetcher("xxxx"); try { fetcher.getRemoteCacheTime(); fail(); } catch(UnsupportedOperationException e) { } }