public function getAvailableStates($startStateName)
    {
        return array_filter(
            $this->transitionChain->getTransitions(),
            function (Transition $transition) use ($startStateName) {
                return
                    $transition->getStart()->getName() === $startStateName;
            }
        );
    }