From Java Testing with Spock

Take 40% off with code ankapelonis.

Using mocks and stubs in a Spock test