예제 #1
0
파일: TableTest.php 프로젝트: drahak/tables
 public function testGetRows()
 {
     $this->dataSource->expects($this->once())->method('getData')->will($this->returnValue(array()));
     $this->table->setDataSource($this->dataSource);
     $this->assertEquals(array(), $this->table->getRows());
 }