Module: Mocha::ParameterMatchers — Mocha 2.8.2

# Module: Mocha::ParameterMatchers

Defined in:
  lib/mocha/parameter_matchers.rb,
  lib/mocha/parameter_matchers/not.rb,
  lib/mocha/parameter_matchers/base.rb,
  lib/mocha/parameter_matchers/is_a.rb,
  lib/mocha/parameter_matchers/all_of.rb,
  lib/mocha/parameter_matchers/any_of.rb,
  lib/mocha/parameter_matchers/equals.rb,
  lib/mocha/parameter_matchers/has_key.rb,
  lib/mocha/parameter_matchers/kind_of.rb,
  lib/mocha/parameter_matchers/anything.rb,
  lib/mocha/parameter_matchers/has_keys.rb,
  lib/mocha/parameter_matchers/includes.rb,
  lib/mocha/parameter_matchers/has_entry.rb,
  lib/mocha/parameter_matchers/has_value.rb,
  lib/mocha/parameter_matchers/optionally.rb,
  lib/mocha/parameter_matchers/has_entries.rb,
  lib/mocha/parameter_matchers/instance_of.rb,
  lib/mocha/parameter_matchers/deprecations.rb,
  lib/mocha/parameter_matchers/responds_with.rb,
  lib/mocha/parameter_matchers/any_parameters.rb,
  lib/mocha/parameter_matchers/equivalent_uri.rb,
  lib/mocha/parameter_matchers/regexp_matches.rb,
  lib/mocha/parameter_matchers/yaml_equivalent.rb,
  lib/mocha/parameter_matchers/instance_methods.rb,
  lib/mocha/parameter_matchers/positional_or_keyword_hash.rb

## Overview

Matcher classes used as parameters for Expectation#with to restrict the parameter values which will match the expectation. Can be nested. Build matcher instances in tests using methods in Methods, e.g. Methods#includes.

## Defined Under Namespace

Modules: BaseMethods, Deprecations, Methods Classes: AllOf, AnyOf, AnyParameters, Anything, Base, Equals, EquivalentUri, HasEntries, HasEntry, HasKey, HasKeys, HasValue, Includes, InstanceOf, IsA, KindOf, Not, Optionally, RegexpMatches, RespondsWith, YamlEquivalent