goog.testing.mockmatchers.ArgumentMatcher
Classgoog.testing.mockmatchers.ArgumentMatcher(opt_matchFn, opt_matchName)
A simple interface for executing argument matching. A match in this case is testing to see if a supplied object fits a given criteria. True is returned if the given criteria is met.
opt_matchFn
{Function
=}
opt_matchName
{?string
=}
.matches(toVerify, opt_expectation)
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.
toVerify
{*}
opt_expectation
{goog.testing.MockExpectation
?=}
boolean
}