class RSpec::Mocks::AnyInstance::Chain

def record(rspec_method_name, *args, &block)

def record(rspec_method_name, *args, &block)
  verify_invocation_order(rspec_method_name, *args, &block)
  messages << [args.unshift(rspec_method_name), block]
  self
end