public int startRecordingValue(int index){
    startedRecordings.push(index);
    return index;
  }
Records and returns the specified value. Hence an expression can be replaced
with record(expression) without impacting evaluation of the expression.
spock-core/src/main/java/org/spockframework/runtime/ValueRecorder.java