private Properties getProperties(boolean overrideEnabled, boolean listenCrossColo, boolean useAggregatedView) {
    Properties props = new Properties();
    props.setProperty("clustermap.host.name", hostname);
    props.setProperty("clustermap.cluster.name", clusterNamePrefixInHelix + clusterNameStatic);
    props.setProperty("clustermap.aggregated.view.cluster.name", clusterNamePrefixInHelix + clusterNameStatic);
    props.setProperty("clustermap.use.aggregated.view", Boolean.toString(useAggregatedView));
    props.setProperty("clustermap.datacenter.name", localDc);
    props.setProperty("clustermap.port", Integer.toString(portNum));
    props.setProperty("clustermap.dcs.zk.connect.strings", zkJson.toString(2));
    props.setProperty("clustermap.current.xid", Long.toString(CURRENT_XID));
    props.setProperty("clustermap.enable.partition.override", Boolean.toString(overrideEnabled));
    props.setProperty("clustermap.listen.cross.colo", Boolean.toString(listenCrossColo));
    return props;
  }
Construct the static layout files and use that to instantiate a {@link MockHelixCluster}.
Instantiate a {@link MockHelixManagerFactory} for use by the cluster manager.
@param useComposite whether the test are to be done for the {@link CompositeClusterManager}
@param overrideEnabled whether the {@link ClusterMapConfig#clusterMapEnablePartitionOverride} is enabled.
                       This config is only applicable for {@link HelixClusterManager}
@param listenCrossColo whether listenCrossColo config in {@link ClusterMapConfig} should be set to true.
@param useAggregatedView whether aggregated view config in {@link ClusterMapConfig} should be set to true.
@throws Exception
ambry-clustermap/src/test/java/com/github/ambry/clustermap/HelixClusterManagerTest.java