### Question:
HelixUtils { public static boolean isClusterConfigEnabled(HelixManager helixManager, String key) { HelixConfigScope scope = newClusterConfigScope(helixManager); Map<String, String> configs = helixManager.getClusterManagmentTool() .getConfig(scope, Arrays.asList(key)); if (configs.containsKey(key) && configs.get(key).equalsIgnoreCase(DISABLE)) { return false; } return true; }  static String getAbsoluteZkPathForHelix(String zkBaseUrl); static ZkHelixPropertyStore<ZNRecord> getZkPropertyStore(HelixManager helixManager,
      String clusterName); static Map<String, String> getInstanceToHostnameMap(HelixManager helixManager); static Map<String, HostAndPort> getInstanceToHostInfoMap(HelixManager helixManager); static List<String> liveInstances(HelixManager helixManager); static List<String> blacklistedInstances(HelixManager helixManager); static Map<String, Set<TopicPartition>> getInstanceToTopicPartitionsMap(
      HelixManager helixManager); static Map<String, Set<TopicPartition>> getInstanceToTopicPartitionsMap(
      HelixManager helixManager,
      Map<String, KafkaBrokerTopicObserver> clusterToObserverMap); static IdealState buildCustomIdealStateFor(String topicName,
      int numTopicPartitions,
      PriorityQueue<InstanceTopicPartitionHolder> instanceToNumServingTopicPartitionMap); static Map<String, IdealState> getIdealStatesFromAssignment(
      Set<InstanceTopicPartitionHolder> newAssignment,
      Set<TopicPartition> blacklistedTopicPartitions); static Set<TopicPartition> getUnassignedPartitions(HelixManager helixManager); static void updateClusterConfig(HelixManager helixManager, String key, String value); static boolean isClusterConfigEnabled(HelixManager helixManager, String key); static boolean isClusterConfigEnabled(HelixManager helixManager, String key,
      boolean defaultValue); static HelixConfigScope newClusterConfigScope(HelixManager helixManager);  }### Answer:
@Test public void testIsClusterConfigEnabled() { boolean autoScaling = HelixUtils .isClusterConfigEnabled(_helixZkManager, Constants.AUTO_SCALING); Assert.assertTrue(autoScaling); HelixUtils.updateClusterConfig(_helixZkManager, Constants.AUTO_BALANCING, Constants.DISABLE); boolean autoBalancing = HelixUtils .isClusterConfigEnabled(_helixZkManager, Constants.AUTO_BALANCING); Assert.assertTrue(!autoBalancing); }