public static JobModelManager getJobModelManager(Config config, int containerCount, HttpServer server) {
    Map<String, ContainerModel> containers = new java.util.HashMap<>();
    for (int i = 0; i < containerCount; i++) {
      ContainerModel container = new ContainerModel(String.valueOf(i), new HashMap<>());
      containers.put(String.valueOf(i), container);
    }
    JobModel jobModel = new JobModel(config, containers);
    return new JobModelManager(jobModel, server);
  }
Utils to create instances of {@link JobModelManager} in unit tests
samza-core/src/test/java/org/apache/samza/coordinator/JobModelManagerTestUtil.java