The docs clearly mention to use an Integer index, however I myself wrote a method like such
@GoldenMasterRun
void instrumentProgramUnderTest(int index) {
// Do some hard work whose output will be compared to that of previous runs
}
This way, tests will end in errors due to a ParameterResolutionException. This should at least hint to using the boxed types, or even auto-unbox parameters if possible.