# File lib/minitest/mock.rb, line 47 def expect(name, retval, args=[]) @expected_calls[name] = { :retval => retval, :args => args } self end