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 initialize(*args)

def initialize(*args)
  super
  @expectation_fulfilled = false
end

def invocation_order

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