class RSpec::Mocks::AnyInstance::Recorder

def received_expected_message!(method_name)

def received_expected_message!(method_name)
  @message_chains[method_name].expectation_fulfilled!
  restore_method!(method_name)
  mark_invoked!(method_name)
end