goog.testing.mockmatchers.IgnoreArgument
Classgoog.testing.mockmatchers.IgnoreArgument
> goog.testing.mockmatchers.ArgumentMatcher
goog.testing.mockmatchers.IgnoreArgument()
A matcher that always returns true. It is useful when the user does not care for some arguments. For example: mockFunction('username', 'password', IgnoreArgument);
.matches(toVerify, opt_expectation)
Inherited from goog.testing.mockmatchers.ArgumentMatcher
.
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
}