PHPUnit_Framework_MockObject_Invocation $invocation:
boolean
Overrides PHPUnit_Framework_MockObject_Matcher_Invocation::matches
public function matches(PHPUnit_Framework_MockObject_Invocation $invocation) {
$this->currentIndex++;
return $this->currentIndex == $this->sequenceIndex;
}