April 2018
Beginner
536 pages
13h 21m
English
A stub is a feature provided by some testing frameworks. Like spies, stubs also allow us to wrap a method or function to record its usage. Unlike in the case of spies, when we wrap a function with a stub, the underlying method's functionality is replaced with new behavior.