function XLSExporterTest::testGetInfo in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/aklump/loft_data_grids/tests/phpunit/XLSXExporterTest.php \AKlump\LoftDataGrids\XLSExporterTest::testGetInfo()
File
- vendor/aklump/loft_data_grids/tests/XLSExporterTest.php, line 63
- Tests for the XLSExporter class
Class
- XLSExporterTest
Namespace
AKlump\LoftDataGrids
Code
function testGetInfo() {
$info = $this->exporter
->getInfo();
$this
->assertArrayHasKey('name', $info);
$this
->assertArrayHasKey('description', $info);
$this
->assertSame('.xlsx', $info['extension']);
$this
->assertSame('AKlump\\LoftDataGrids\\XLSXExporter', $info['class']);
}