I\'ve run into a strange issue with PHPUnit mock objects. I have a method that should be called twice, so I\'m using the \"at\" matcher. This works for the first time the method
Try changing $this->at(1) to $this->at(2)
$this->at(1)
$this->at(2)