matcher.Any extends matcher.Matcher

Matches anything.

Constructor

matcher.Any()

Properties

readonly Array matchingArgs

Array of recorded arguments that matches

Methods

matches() => Boolean
return Boolean

True. Always.

registerInvocation(Object arg) => Boolean

Checks if the given argument matches the matcher. If so, records the invocation.

[arg]

Object

The argument to be checked.

Object [arg]

The argument to be checked.

return Boolean

True iff the given argument is a match.