goog.testing.mockmatchers.RegexpMatch
Classgoog.testing.mockmatchers.RegexpMatch
> goog.testing.mockmatchers.ArgumentMatcher
goog.testing.mockmatchers.RegexpMatch(regexp)
A matcher that verifies that an argument matches a given RegExp.
regexp
{RegExp
}
.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
}