class RSpec::Mocks::Matchers::HaveReceived

def expected_messages_received_in_order?

def expected_messages_received_in_order?
  mock_proxy.replay_received_message_on @expectation, &@block
  @expectation.expected_messages_received? && @expectation.ensure_expected_ordering_received!
end