goog.testing.MethodMock
Provided By |
---|
Mocks an existing function. Creates a goog.testing.FunctionMock and registers it in the given scope with the name specified by functionName.
MethodMock( scope, functionName, opt_strictness ) → goog.testing.MockInterface
goog.testing.MockInterface
Parameters |
| ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns |
|