class Mocha::ReturnValues

def next(invocation)

def next(invocation)
  case @values.length
  when 0 then nil
  when 1 then @values.first.evaluate(invocation)
  else @values.shift.evaluate(invocation)
  end
end