# File lib/rspec/mocks/matchers/receive.rb, line 19 def setup_expectation(subject, &block) setup_mock_proxy_method_substitute(subject, :add_message_expectation, block) end