public static function stubGlobal(
        string $function,
        string $namespace
    ): StubVerifier {
        $container = self::$globals::$container;

        return $container->stubVerifierFactory
            ->createGlobal($function, $namespace);
    }