Spock Mock Cheatsheet
This repo contains sample tests illustrating several different variations of Spock mocking techniques.
A PDF of the cheatsheet is in the root directory of the repo: spock-mock-cheatsheet.pdf
The tests are located in src/test/groovy/cheatsheet
To run the tests using Gradle, on Linux/Mac run
And on Windows run