PHPUnit_Extensions_Database_DataSet_QueryTable::getRowCount PHP Метод

getRowCount() публичный Метод

Returns the number of rows in this table.
public getRowCount ( ) : integer
Результат integer
    public function getRowCount()
    {
        $this->loadData();
        return parent::getRowCount();
    }

Usage Example

Пример #1
0
 public function testGetRowCount()
 {
     $this->assertEquals(2, $this->table->getRowCount());
 }