public function ExportDataTest::testDeletePage 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::testDeletePage()
File
- vendor/
aklump/ loft_data_grids/ tests/ ExportDataTest.php, line 194 - Tests for the ExportData class
Class
Namespace
AKlump\LoftDataGridsCode
public function testDeletePage() {
$obj = $this->obj;
$return = $obj
->deletePage(0);
$this
->assertInstanceOf('AKlump\\LoftDataGrids\\ExportDataInterface', $return);
$return = $return
->getAllPageIds();
$this
->assertCount(1, $return);
$return = $obj
->setPage(1)
->setPointer(0)
->getCurrent();
$this
->assertSame('Black', $return['Color']);
$this
->assertSame('Subaru', $return['Make']);
}