@Override
  public MockClusterMap getClusterMap() throws IOException {
    if (mockClusterMap == null) {
      mockClusterMap =
          new MockClusterMap(enableSslPorts, enableHttp2Ports, numNodes, numMountPointsPerNode, numStoresPerMountPoint,
              false, false, null);
    }
    return mockClusterMap;
  }
Create a {@link MockClusterAgentsFactory} object from the given {@code clustermap}.
@param mockClusterMap {@link ClusterMap} object.
ambry-test-utils/src/main/java/com/github/ambry/clustermap/MockClusterAgentsFactory.java