/**
  * {@inheritdoc}
  */
 public function resolve(State $currentState, Input $input) : State
 {
     return $this->wrappedTransitionTable->resolve($currentState, $input);
 }
 /**
  * {@inheritdoc}
  */
 public function trigger(Input $input, Stateful $object)
 {
     $context = new Context();
     $nextState = $this->stateTransitionTable->resolve($object->getCurrentState(), $input);
     $this->emitEvents($input, $object, $context, $nextState);
 }