def METHOD_NAME(self):
    task = self.workflow.get_ready_user_tasks()[0]
    # Set the data object
    task.data = {'val': True}
    task.run()
    # The gateway depends on the value of the data object
    self.workflow.do_engine_steps()
    self.assertTrue(self.workflow.is_completed())
    completed = [task.task_spec.name for task in self.workflow.get_tasks()]
    self.assertIn('yes', completed)
    self.assertNotIn('no', completed)
    # The data object was removed by the script engine
    self.assertNotIn('val', self.workflow.last_task.data)