goog.testing.FunctionMock
Provided By |
---|
Class used to mock a function. Useful for mocking closures and anonymous callbacks etc. Creates a function object that extends goog.testing.Mock.
FunctionMock( opt_functionName, opt_strictness ) → goog.testing.MockInterface
goog.testing.MockInterface
Parameters |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Returns |
|