Ejemplo n.º 1
0
 /**
  * @param \Iterator $destinationObjects
  */
 private function setUpDestinationToReturn(\Iterator $destinationObjects)
 {
     $this->destination->expects($this->any())->method('getObjectsOrderedById')->will($this->returnValue($destinationObjects));
 }
Ejemplo n.º 2
0
 protected function notifyProgress()
 {
     if ($this->destination instanceof Adapter\ProgressListener) {
         $this->destination->afterObjectProcessed();
     }
 }