# File lib/rspec/mocks/message_expectation.rb, line 138 def and_throw(symbol, object = nil) @args_to_throw << symbol @args_to_throw << object if object end