# File lib/mocha/sequence.rb, line 32 def satisfied_to_index?(index) @expectations[0...index].all? { |expectation| expectation.satisfied? } end