class RSpec::Mocks::Matchers::Receive
def setup_expectation(subject, &block)
def setup_expectation(subject, &block) warn_if_any_instance("expect", subject) setup_mock_proxy_method_substitute(subject, :add_message_expectation, block) end
def setup_expectation(subject, &block) warn_if_any_instance("expect", subject) setup_mock_proxy_method_substitute(subject, :add_message_expectation, block) end