Creating Stubs
Learn how to create stubs.
We'll cover the following...
Creating stubs using Mox
The Mox.stub/3
takes three parameters:
- The mock module
- The name of the function to be stubbed
- An anonymous function
Learn how to create stubs.
The Mox.stub/3
takes three parameters: