You are here

public function ArrayExporterTest::testExportAllPages in Loft Data Grids 7.2

File

vendor/aklump/loft_data_grids/tests/phpunit/ArrayExporterTest.php, line 66
Tests for the ArrayExporter class

Class

ArrayExporterTest

Namespace

AKlump\LoftDataGrids

Code

public function testExportAllPages() {
  $control = json_decode('[[{"Order No.":1181,"Customer Billing Country":"US","California Taxed Purchase Amount":0}],[{"Order No.":"1182","Transaction Date":"11\\/7\\/13","Customer Name":"Hope, Roberta"}]]', true);
  $subject = $this->exporter
    ->export();
  $this
    ->assertSame($control, $subject);
}