class RSpec::Mocks::Matchers::Receive

def setup_mock_proxy_method_substitute(subject, method, block)

def setup_mock_proxy_method_substitute(subject, method, block)
  proxy = ::RSpec::Mocks.space.proxy_for(subject)
  setup_method_substitute(proxy, method, block)
end