# File lib/mocha/mock.rb, line 73
73:     def stubs(method_name_or_hash, backtrace = nil)
74:       if method_name_or_hash.is_a?(Hash) then
75:         method_name_or_hash.each do |method_name, return_value|
76:           ensure_method_not_already_defined(method_name)
77:           @expectations.add(Expectation.new(self, method_name, backtrace).at_least(0).returns(return_value))
78:         end
79:       else
80:         ensure_method_not_already_defined(method_name_or_hash)
81:         @expectations.add(Expectation.new(self, method_name_or_hash, backtrace).at_least(0))
82:       end
83:     end