public static Set<TaskModel> generateTaskModels(int count) {
    Set<TaskModel> taskModels = new HashSet<>();
    for (int i = 0; i < count; i++) {
      taskModels.add(getTaskModel(i));
    }
    return taskModels;
  }
Note: This is artificial. It makes assumptions about task grouping, changelog partition mapping, etc.
that will likely not be true at runtime, but are not the focus of this test.
samza-core/src/test/java/org/apache/samza/container/mock/ContainerMocks.java