You are here

function XLSExporterTest::testGetInfo in Loft Data Grids 7.2

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

File

vendor/aklump/loft_data_grids/tests/phpunit/XLSXExporterTest.php, line 82
Tests for the XLSExporter class

Class

XLSExporterTest

Namespace

AKlump\LoftDataGrids

Code

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