ObjectMapper mapper = SamzaObjectMapper.getObjectMapper();
Map<String, String> configMap = new HashMap<String, String>();
configMap.put("a", "b");
Config config = new MapConfig(configMap);
Set<SystemStreamPartition> inputSystemStreamPartitions = new HashSet<SystemStreamPartition>();
inputSystemStreamPartitions.add(new SystemStreamPartition("foo", "bar", new Partition(1)));
TaskName taskName = new TaskName("test");
TaskModel taskModel = new TaskModel(taskName, inputSystemStreamPartitions, new Partition(2));
Map<TaskName, TaskModel> tasks = new HashMap<TaskName, TaskModel>();
tasks.put(taskName, taskModel);
ContainerModel containerModel = new ContainerModel(1, tasks);
Map<Integer, ContainerModel> containerMap = new HashMap<Integer, ContainerModel>();
containerMap.put(Integer.valueOf(1), containerModel);