public function ExportDataTest::testGetPageData in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/aklump/loft_data_grids/tests/ExportDataTest.php \AKlump\LoftDataGrids\ExportDataTest::testGetPageData()
 
File
- vendor/
aklump/ loft_data_grids/ tests/ phpunit/ ExportDataTest.php, line 216  - 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']);
}