# File lib/rspec/mocks/proxy.rb, line 56 def add_message_expectation(location, method_name, opts={}, &block) method_double[method_name].add_expectation @error_generator, @expectation_ordering, location, opts, &block end