### Question:
ConfigurableCacheConfig extends AbstractCacheConfig { public void setCacheFullMetadata(boolean cacheFullMetadata) { this.cacheFullMetadata = cacheFullMetadata; } ConfigurableCacheConfig(); @Override boolean extraChecks(Key key); void setAllowedTypes(@Nonnull Set<FormatType> allowedTypes); void setAllowedLanguages(@Nullable Set<String> allowedLanguages); void setFormatterIds(@Nullable Set<String> formatterIds); void setCacheFullMetadata(boolean cacheFullMetadata); void setCacheHideWithheld(boolean cacheHideWithheld); void setTypeExceptions(HashSet<FormatType> typeExceptions); void setFormatterExceptions(HashSet<String> formatterExceptions); void setLangExceptions(HashSet<String> langExceptions);  }### Answer:
@Test public void testAllowCachingHideFullMetadata() throws Exception { final ConfigurableCacheConfig cacheConfig = new ConfigurableCacheConfig(); cacheConfig.setCacheFullMetadata(false); assertTrue(cacheConfig.allowCaching(new Key(1, "eng", FormatType.html, "fmtId", true, FormatterWidth._100))); assertFalse(cacheConfig.allowCaching(new Key(1, "eng", FormatType.html, "fmtId", false, FormatterWidth._100))); }