protected function processRow(&$row)
 {
     $id = $this->getIdFromRow($row);
     $this->translateRow($row);
     $this->targetDb->executeInsert($this->getTableName(), $row);
     if ($id != null) {
         $this->addNewId($id, $this->targetDb->lastInsertId());
     }
 }
 public function test_lastInsertId()
 {
     $this->adapter->expects($this->once())->method('lastInsertId')->with('table', null)->will($this->returnValue(2));
     $this->assertEquals(2, $this->dbHelper->lastInsertId('table'));
 }