Mocking in various situations
On the following pages we’ll see examples where we are using mocking in various situations:
- Random
- Time
- IO (STDIN, STDOUT, STDERR)
We are going to “mock”:
- External calls.
- Method calls.
- A whole class.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
On the following pages we’ll see examples where we are using mocking in various situations:
We are going to “mock”: