You are here

function CSVExporterTest::testGetInfo in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/aklump/loft_data_grids/tests/phpunit/CSVExporterTest.php \AKlump\LoftDataGrids\CSVExporterTest::testGetInfo()

File

vendor/aklump/loft_data_grids/tests/CSVExporterTest.php, line 69
Tests for the CSVExporter class

Class

CSVExporterTest

Namespace

AKlump\LoftDataGrids

Code

function testGetInfo() {
  $info = $this->exporter
    ->getInfo();
  $this
    ->assertArrayHasKey('name', $info);
  $this
    ->assertArrayHasKey('description', $info);
  $this
    ->assertSame('.csv', $info['extension']);
  $this
    ->assertSame('AKlump\\LoftDataGrids\\CSVExporter', $info['class']);
}