Method: FlexMock#flexmock_received?

Defined in:
lib/flexmock/core.rb

#flexmock_received?(method_name, args, kw, options = {}) ⇒ Boolean

True if the mock received the given method and arguments.

Returns:

  • (Boolean)


197
198
199
# File 'lib/flexmock/core.rb', line 197

def flexmock_received?(method_name, args, kw, options = {})
  CALL_VALIDATOR.received?(@calls, method_name, args, kw, options)
end