# File lib/mocha/yield_parameters.rb, line 13
13:     def next_invocation
14:       case @parameter_groups.length
15:         when 0 then NoYields.new
16:         when 1 then @parameter_groups.first
17:         else @parameter_groups.shift
18:       end
19:     end