function CSVExporterTest::testGetInfo in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/aklump/loft_data_grids/tests/CSVExporterTest.php \AKlump\LoftDataGrids\CSVExporterTest::testGetInfo()
File
- vendor/aklump/loft_data_grids/tests/phpunit/CSVExporterTest.php, line 135
- 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']);
}