def METHOD_NAME(self):
    self.save_restore()
    self.assertEqual(2, len(self.workflow.get_tasks(TaskState.READY)))
    self.do_next_named_step('Choice 1', choice='No')
    self.workflow.do_engine_steps()
    self.save_restore()
    self.assertRaises(AssertionError, self.do_next_named_step, 'Done')
    self.do_next_named_step('Repeated Task')
    self.workflow.do_engine_steps()
    self.save_restore()
    self.assertRaises(AssertionError, self.do_next_named_step, 'Done')
    self.do_next_named_step('No Task')
    self.workflow.do_engine_steps()
    self.save_restore()
    self.do_next_named_step('Done')
    self.workflow.do_engine_steps()
    self.save_restore()
    self.assertEqual(0, len(self.workflow.get_tasks(TaskState.READY | TaskState.WAITING)))