private function extractDefaultResolver(AggregateResolver $aggregate) : void
    {
        if ($this->resolver instanceof DefaultResolver) {
            return;
        }

        $resolver = $aggregate->fetchByType(DefaultResolver::class);
        if ($resolver instanceof AggregateResolver) {
            $queue    = $resolver->getIterator();
            $resolver = $queue->top();
        }

        $this->resolver = $resolver;
    }