goog.testing.GlobalFunctionMock
Provided By |
---|
Mocks a global / top-level function. Creates a goog.testing.MethodMock in the global scope with the name specified by functionName.
GlobalFunctionMock( functionName, opt_strictness ) → goog.testing.MockInterface
goog.testing.MockInterface
Parameters |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Returns |
|