module Mocha::ParameterMatchers

def has_keys(*keys) # rubocop:disable Naming/PredicateName

Other tags:
    Example: Actual parameter does not contain all expected keys. -
    Example: Actual parameter contains entry with expected keys. -

Other tags:
    See: Expectation#with -

Returns:
  • (HasKeys) - parameter matcher.

Parameters:
  • keys (*Array) -- expected keys.
    def has_keys(*keys) # rubocop:disable Naming/PredicateName
      HasKeys.new(*keys)
    end