protected function printTransitions(array $transitions)
    {
        end($transitions);

        $lastTransition = key($transitions);

        reset($transitions);

        $rows = [];

        foreach ($transitions as $name => $transition) {
            $rows[] = [$name, implode(PHP_EOL, $transition['from']), $transition['to']];

            if ($name !== $lastTransition) {
                $rows[] = new TableSeparator();
            }
        }

        $this->table(['Transition', 'From(s)', 'To'], $rows);
    }