class RSpec::Mocks::AnyInstance::StubChainChain

@private

def create_message_expectation_on(instance)

def create_message_expectation_on(instance)
  ::RSpec::Mocks::StubChain.stub_chain_on(instance, *@expectation_args, &@expectation_block)
end

def invocation_order

def invocation_order
  @invocation_order ||= {
    :and_return => [nil],
    :and_raise => [nil],
    :and_yield => [nil]
  }
end