class RSpec::Mocks::Matchers::Receive

def setup_allowance(subject, &block)

def setup_allowance(subject, &block)
  warn_if_any_instance("allow", subject)
  setup_mock_proxy_method_substitute(subject, :add_stub, block)
end