@module stub stub
@parent index
@signature`stub(moduleName, factory)`@descriptionStub a module name by providing a factory function.
@param {String} moduleName Themodule to stub.
@param {Function} factory A factory function that will return the module's stubbed value.