def METHOD_NAME(self):
    payload = uuid4().hex
    task_service = TestService("testservice")
    task_id = self.workflow.add_task(self.dialog_id, task_service, payload, 1)
    self.assertTrue(task_id is not None)
    self.assertEqual(1, len(self.workflow.tasks))
    self.assertTrue(task_id in self.workflow.tasks)