You are here

public function ArrayExporterTest::testDateTimeObjectHandling in Loft Data Grids 7.2

File

vendor/aklump/loft_data_grids/tests/phpunit/ArrayExporterTest.php, line 13
Tests for the ArrayExporter class

Class

ArrayExporterTest

Namespace

AKlump\LoftDataGrids

Code

public function testDateTimeObjectHandling() {
  $this
    ->assertDateHandlerWorks(function ($date) {
    return array(
      'date' => $date,
    );
  });
}