@module stub stub
@parent index

@signature `stub(moduleName, factory)`

@description Stub a module name by providing a factory function.

@param {String} moduleName The module to stub.
@param {Function} factory A factory function that will return the module's stubbed value.
