class RSpec::Mocks::AnyInstance::Proxy

def expect_chain(*chain, &block)

def expect_chain(*chain, &block)
  perform_proxying(__method__, chain, block) do |proxy|
    Mocks::ExpectChain.expect_chain_on(proxy.object, *chain, &block)
  end
end