class RSpec::Mocks::Proxy

def received_message?(method_name, *args, &block)

Other tags:
    Private: -
def received_message?(method_name, *args, &block)
  @messages_received.any? {|array| array == [method_name, args, block]}
end