# File lib/rspec/mocks/mutate_const.rb, line 366
      def self.rspec_reset
        @registered_with_mocks_space = false

        # We use reverse order so that if the same constant
        # was stubbed multiple times, the original value gets
        # properly restored.
        mutators.reverse.each { |s| s.rspec_reset }

        mutators.clear
      end