def METHOD_NAME(self):
    script_engine = self.workflow.script_engine
    before_state = self._get_workflow_state(do_steps=False)
    before_dump = self.workflow.get_dump()
    # Check that we can actully convert this to JSON
    json_str = json.dumps(before_state)
    after = self.serializer.workflow_from_dict(json.loads(json_str))
    # Check that serializing and deserializing results in the same workflow
    after_state = self.serializer.workflow_to_dict(after)
    after_dump = after.get_dump()
    self.maxDiff = None
    self.assertEqual(before_dump, after_dump)
    self.assertEqual(before_state, after_state)
    self.workflow = after
    self.workflow.script_engine = script_engine