class RSpec::Mocks::StubChain

@private

def self.stub_chain_on(object, *chain, &blk)

def self.stub_chain_on(object, *chain, &blk)
  new(object, *chain, &blk).setup_chain
end

def expectation(object, message, &return_block)

def expectation(object, message, &return_block)
  ::RSpec::Mocks.allow_message(object, message, {}, &return_block)
end