public function ExportDataTest::testGetPageData in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/aklump/loft_data_grids/tests/phpunit/ExportDataTest.php \AKlump\LoftDataGrids\ExportDataTest::testGetPageData()
File
- vendor/
aklump/ loft_data_grids/ tests/ ExportDataTest.php, line 207 - Tests for the ExportData class
Class
Namespace
AKlump\LoftDataGridsCode
public function testGetPageData() {
$obj = $this->obj;
$return = $obj
->getPageData(1);
$this
->assertInstanceOf('AKlump\\LoftDataGrids\\ExportDataInterface', $return);
$return = $obj
->setPointer(0)
->getCurrent();
$this
->assertSame('Black', $return['Color']);
$this
->assertSame('Subaru', $return['Make']);
}