CacheStringDictionary extends StringDictionaryBase implements ManageableCacheDictionary { int cacheSize(final int inputSize) { return inputSize > 0 ? inputSize : DEFAULT_CACHE_SIZE; } CacheStringDictionary(
			final String id, 
			final IDictionary<String> decoratee, 
			final int idCacheSize, 
			final int valueCacheSize, 			
			final boolean isFirstLevelCache); @Override void removeValue(final String value, final boolean p); @Override int getIdCacheMaxSize(); @Override int getValueCacheMaxSize(); @Override int getCachedIdentifiersCount(); @Override int getCachedValuesCount(); @Override boolean isCumulativeCache(); @Override long getIdHitsCount(); @Override double getIdHitsRatio(); @Override long getIdEvictionsCount(); @Override long getValueHitsCount(); @Override double getValueHitsRatio(); @Override long getValueEvictionsCount();  }
@Test public void defaultCacheSize() { assertEquals(CacheStringDictionary.DEFAULT_CACHE_SIZE, _cut.cacheSize(-0)); assertEquals(CacheStringDictionary.DEFAULT_CACHE_SIZE, _cut.cacheSize(-12)); assertEquals(12345, _cut.cacheSize(12345)); }