You are here

public function ArrayExporterTest::testExportPage0 in Loft Data Grids 7.2

File

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

Class

ArrayExporterTest

Namespace

AKlump\LoftDataGrids

Code

public function testExportPage0() {
  $control = json_decode('[[{"Order No.":1181,"Customer Billing Country":"US","California Taxed Purchase Amount":0}]]', true);
  $subject = $this->exporter
    ->export(0);
  $this
    ->assertSame($control, $subject);
}