module Mocha::ParameterMatchers
def has_entries(entries) # rubocop:disable Naming/PredicateName
- Example: Actual parameter does not contain all expected entries. -
Example: Actual parameter contains all expected entries. -
Other tags:
- See: Expectation#with -
Returns:
-
(HasEntries)
- parameter matcher.
Parameters:
-
entries
(Hash
) -- expected +Hash+ entries.
def has_entries(entries) # rubocop:disable Naming/PredicateName HasEntries.new(entries) end