# File lib/rspec/mocks/stub_const.rb, line 232
      def self.ensure_registered_with_mocks_space
        return if @registered_with_mocks_space
        ::RSpec::Mocks.space.add(self)
        @registered_with_mocks_space = true
      end