PHPUnit_Extensions_Database_DataSet_QueryTable::getRowCount PHP Method

getRowCount() public method

Returns the number of rows in this table.
public getRowCount ( ) : integer
return integer
    public function getRowCount()
    {
        $this->loadData();
        return parent::getRowCount();
    }

Usage Example

コード例 #1
0
ファイル: QueryTableTest.php プロジェクト: AroundPBT/PHPBoost
 public function testGetRowCount()
 {
     $this->assertEquals(2, $this->table->getRowCount());
 }