When designing an automated test at any level, it is worth considering if you can make that test more data-driven. Rather than hard-coding the input values and expected results into the test logic, separate them out. The Spock framework has some elegant support built in for data-driven tests, … … but you…