You are here

public function ValuesOnlyExporterTest::testOutput in Loft Data Grids 7.2

File

vendor/aklump/loft_data_grids/tests/phpunit/ValuesOnlyExporterTest.php, line 27
Tests for the ValuesOnlyExporter class

Class

ValuesOnlyExporterTest

Namespace

AKlump\LoftDataGrids

Code

public function testOutput() {
  $control = "1181\\US\\0\r\n1182\\11/7/13\\Hope, Roberta";
  $subject = $this->exporter
    ->export();
  $this
    ->assertSame($control, $subject);
  $this
    ->assertMethodSaveFile();
  $this
    ->assertSandboxFileContents($control);
}