@api private
# File lib/rspec/mocks/any_instance/expectation_chain.rb, line 22 def initialize(*args, &block) super(:should_receive, *args, &block) end
# File lib/rspec/mocks/any_instance/expectation_chain.rb, line 28 def invocation_order @invocation_order ||= { :should_receive => [nil], :with => [:should_receive], :and_return => [:with, :should_receive], :and_raise => [:with, :should_receive] } end