module Mocha::ParameterMatchers

def includes(*items)

Other tags:
    Example: Actual parameter is a Hash no key matching the given matcher. -
    Example: Actual parameter is a Hash with a key matching the given matcher. -
    Example: Actual parameter is a Hash without the given key. -
    Example: Actual parameter is a Hash including the given key. -
    Example: Actual parameter is a String not including substring. -
    Example: Actual parameter is a String including substring. -
    Example: Actual parameter does not include item matching nested matcher. -
    Example: Actual parameter includes item which matches nested matcher. -
    Example: Actual parameter does not include all items. -
    Example: Actual parameter includes all items. -

Other tags:
    See: Expectation#with -

Returns:
  • (Includes) - parameter matcher.

Parameters:
  • items (*Array) -- expected items.
def includes(*items)
  Includes.new(*items)
end