/**
  * Overrides the "StateMachine::resumeExecutionState" method,
  * in order to support/emit the ON_EXECUTION_RESUMED event.
  *
  * @param StatefulSubjectInterface $subject
  *
  * @return StateInterface
  */
 protected function resumeExecutionState(StatefulSubjectInterface $subject)
 {
     $resume_state = parent::resumeExecutionState($subject);
     $this->fireEvent(self::ON_EXECUTION_RESUMED, $subject, $resume_state);
     return $resume_state;
 }