stubs (Mocha::Mock)

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