You are here

public function JSONExporterTest::testExportPage0 in Loft Data Grids 7.2

File

vendor/aklump/loft_data_grids/tests/phpunit/JSONExporterTest.php, line 13
Tests for the JSONExporter class

Class

JSONExporterTest

Namespace

AKlump\LoftDataGrids

Code

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