### Question:
CustomizedStateConfig extends HelixProperty { public CustomizedStateConfig() { super(CUSTOMIZED_STATE_CONFIG_KW); } CustomizedStateConfig();  CustomizedStateConfig(ZNRecord record); void setAggregationEnabledTypes(List<String> aggregationEnabledTypes); List<String> getAggregationEnabledTypes(); static final String CUSTOMIZED_STATE_CONFIG_KW; }### Answer:
@Test(dependsOnMethods = "testCustomizedStateConfigNull") public void testCustomizedStateConfig() { String className = getShortClassName(); String clusterName = "CLUSTER_" + className; TestHelper.setupEmptyCluster(_gZkClient, clusterName); CustomizedStateConfig.Builder customizedStateConfigBuilder = new CustomizedStateConfig.Builder(); List<String> aggregationEnabledTypes = new ArrayList<String>(); aggregationEnabledTypes.add("mockType1"); aggregationEnabledTypes.add("mockType2"); customizedStateConfigBuilder.setAggregationEnabledTypes(aggregationEnabledTypes); CustomizedStateConfig customizedStateConfig = customizedStateConfigBuilder.build(); ZKHelixDataAccessor accessor = new ZKHelixDataAccessor(clusterName, new ZkBaseDataAccessor(ZK_ADDR)); Builder keyBuilder = accessor.keyBuilder(); accessor.setProperty(keyBuilder.customizedStateConfig(), customizedStateConfig); ConfigAccessor _configAccessor = new ConfigAccessor(ZK_ADDR); CustomizedStateConfig customizedStateConfigFromZk = _configAccessor.getCustomizedStateConfig(clusterName); Assert.assertEquals(customizedStateConfigFromZk.getAggregationEnabledTypes().size(), 2); Assert.assertEquals(aggregationEnabledTypes.get(0), "mockType1"); Assert.assertEquals(aggregationEnabledTypes.get(1), "mockType2"); }