private function checkPointOfEntry(array $configuration, $pointOfEntry)
    {
        foreach ($configuration as $transitionConfiguration) {
            if ($transitionConfiguration[0] === $pointOfEntry) {
                return $this;
            }
        }

        throw new InvalidPointOfEntryException($pointOfEntry);
    }