You are here

function XLSExporterTest::testHeaders in Loft Data Grids 6.2

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

File

vendor/aklump/loft_data_grids/tests/XLSExporterTest.php, line 97
Tests for the XLSExporter class

Class

XLSExporterTest

Namespace

AKlump\LoftDataGrids

Code

function testHeaders() {
  $subject = $this->records[0];
  $return = $this->exporter
    ->getHeader();
  $this
    ->assertSame(array_combine(array_keys($subject), array_keys($subject)), $return);
}