UnlimitedQuotaStrategy implements QuotaManagerStrategy { @Override public boolean beforeWritingCacheFile(long contentSize) { return true; }  @Override boolean beforeWritingCacheFile(long contentSize); @Override boolean afterWritingCacheFile(long contentSize);  }
@Test public void beforeWritingCacheFile() { assertTrue("Should always allow caching", quota.beforeWritingCacheFile(0)); assertTrue("Should always allow caching", quota.beforeWritingCacheFile(Long.MAX_VALUE)); }