Class goog.testing.mockmatchers.RegexpMatch
code »goog.testing.mockmatchers.ArgumentMatcher
└ goog.testing.mockmatchers.RegexpMatchA matcher that verifies that an argument matches a given RegExp.
Constructor
goog.testing.mockmatchers.RegexpMatch ( regexp )
| Parameters |
|---|
|
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 |
|