You are here

public function DataTypeTest::testGetErrorCodes in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Cell/DataTypeTest.php \DataTypeTest::testGetErrorCodes()

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Cell/DataTypeTest.php, line 16

Class

DataTypeTest

Code

public function testGetErrorCodes() {
  $result = call_user_func(array(
    'PHPExcel_Cell_DataType',
    'getErrorCodes',
  ));
  $this
    ->assertInternalType('array', $result);
  $this
    ->assertGreaterThan(0, count($result));
  $this
    ->assertArrayHasKey('#NULL!', $result);
}