def METHOD_NAME(self):
    fn = os.path.join(self.DATA_DIR, 'serialization', 'v1.1-task-states.json')
    wf = self.serializer.deserialize_json(open(fn).read())
    start = wf.get_tasks_from_spec_name('Start')[0]
    self.assertEqual(start.state, TaskState.COMPLETED)
    signal = wf.get_tasks_from_spec_name('signal')[0]
    self.assertEqual(signal.state, TaskState.CANCELLED)
    ready_tasks = wf.get_tasks(TaskState.READY)
    while len(ready_tasks) > 0:
        ready_tasks[0].run()
        ready_tasks = wf.get_tasks(TaskState.READY)
    self.assertTrue(wf.is_completed())