private function setupStateHandlerRegistration(SubscriptionGroup $subscriptionGroup)
    {
        /** @var StateHandlerRegistration $stateHandlerRegistration */
        foreach ($this->stateHandlerRegistrations as $stateHandlerRegistration) {
            if ($stateHandlerRegistration->handlesStateFor($subscriptionGroup)) {
                $this->stateHandlerMap->attach($subscriptionGroup, $stateHandlerRegistration);
                return;
            }
        }
        $this->stateHandlerMap->attach($subscriptionGroup, null);
    }