class RSpec::Mocks::MessageExpectation

def verify_messages_received

def verify_messages_received
  return if expected_messages_received? || failed_fast?
  generate_error
rescue RSpec::Mocks::MockExpectationError => error
  error.backtrace.insert(0, @expected_from)
  Kernel::raise error
end