Class goog.testing.mockmatchers.IgnoreArgument
code »goog.testing.mockmatchers.ArgumentMatcher
└ goog.testing.mockmatchers.IgnoreArgumentA matcher that always returns true. It is useful when the user does not care for some arguments. For example: mockFunction('username', 'password', IgnoreArgument);
Constructor
goog.testing.mockmatchers.IgnoreArgument ( )
Show:
Instance Methods
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.
| Parameters |
|---|
|
| Returns |
|