tasks.put(taskName, taskModel);
ContainerModel containerModel = new ContainerModel(1, tasks);
Map<Integer, ContainerModel> containerMap = new HashMap<Integer, ContainerModel>();
containerMap.put(Integer.valueOf(1), containerModel);
JobModel jobModel = new JobModel(config, containerMap);
String str = mapper.writeValueAsString(jobModel);
JobModel obj = mapper.readValue(str, JobModel.class);
assertEquals(jobModel, obj);
}
}