Creating Stubs

Learn how to create stubs.

We'll cover the following...

Creating stubs using Mox

The Mox.stub/3 takes three parameters:

  1. The mock module
  2. The name of the function to be stubbed
  3. An anonymous function
...