public function take($transition = null)
    {
        if ($this->isTerminated()) {
            throw new \RuntimeException(sprintf('Cannot take transition in terminated %s', $this));
        }
        
        if ($transition !== null && !$transition instanceof Transition) {
            $transition = $this->model->findTransition($transition);
        }
        
        $this->engine->pushCommand($this->engine->createTakeTransitionCommand($this, $transition));
    }