fetch_path (Gem::FakeFetcher)

    # File lib/rubygems/test_utilities.rb, line 33
      def fetch_path path, mtime = nil
        path = path.to_s
        @paths << path
        raise ArgumentError, 'need full URI' unless path =~ %r'^http://'

        unless @data.key? path then
          raise Gem::RemoteFetcher::FetchError.new("no data for #{path}", path)
        end

        data = @data[path]

        if data.respond_to?(:call) then
          data.call
        else
          if path.to_s =~ /gz$/ and not data.nil? and not data.empty? then
            data = Gem.gunzip data
          end

          data
        end
      end