class RSpec::Mocks::AnyInstance::ExpectationChain

def expectation_filfilled?

def expectation_filfilled?
  @expectation_fulfilled || constrained_to_any_of?(:never, :any_number_of_times)
end

def expectation_fulfilled!

def expectation_fulfilled!
  @expectation_fulfilled = true
end

def initialize(*args, &block)

def initialize(*args, &block)
  record(:should_receive, *args, &block)
  @expectation_fulfilled = false
end

def invocation_order

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

def verify_invocation_order(rspec_method_name, *args, &block)

def verify_invocation_order(rspec_method_name, *args, &block)
end