goog.testing.mockmatchers.ArgumentMatcher |
opt_matchFn
: Function=
A function that evaluates a given argument
and returns true if it meets a given criteria.
|
opt_matchName
: ?string=
The name expressing intent as part of
an error message for when a match fails.
|
A function that takes a match argument and an optional MockExpectation
which (if provided) will get error information and returns whether or
not it matches.
Arguments:
Returns: boolean
Whether or not a given argument passes verification.
|
code » |