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());
 }