### Question:
RubixEnabledConfig { @Config("hive.cache.enabled") @ConfigDescription("Experimental: Cache HDFS file segments to distributed local storage") public RubixEnabledConfig setCacheEnabled(boolean value) { this.cacheEnabled = value; return this; }  boolean isCacheEnabled(); @Config("hive.cache.enabled") @ConfigDescription("Experimental: Cache HDFS file segments to distributed local storage") RubixEnabledConfig setCacheEnabled(boolean value);  }### Answer:
@Test public void testDefaults() { assertRecordedDefaults(recordDefaults(RubixEnabledConfig.class) .setCacheEnabled(false)); }
@Test public void testExplicitPropertyMappings() { Map<String, String> properties = new ImmutableMap.Builder<String, String>() .put("hive.cache.enabled", "true") .build(); RubixEnabledConfig expected = new RubixEnabledConfig() .setCacheEnabled(true); assertFullMapping(properties, expected); }