PHPUnit_Extensions_Database_DataSet_QueryTable::getRow PHP Method

getRow() public method

Returns the an associative array keyed by columns for the given row.
public getRow ( integer $row ) : array
$row integer
return array
    public function getRow($row)
    {
        $this->loadData();
        return parent::getRow($row);
    }

Usage Example

Ejemplo n.º 1
0
 public function testGetRow()
 {
     $this->assertEquals(array('col1' => 'value1', 'col2' => 'value2', 'col3' => 'value3'), $this->table->getRow(0));
 }