So, you are using Grails/Groovy for your app and Spock as testing framework. You have an integration test that is testing something on a class that has another dependencies that you have to mock. Something like: class TestedClassSpec extends Specification { @Unroll void “test some method on Class that has dependencies”() { given: def testedClass […]