Mocking

It is the action of replacing something that’s:

  • Complicated
  • Unreliable
  • Out of our control

With something that’s fully within our control.

That is really useful if your package wraps an external API that requires authentication or has occasional downtime.