public function CellTest::testBuildRangeInvalid in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/CellTest.php \CellTest::testBuildRangeInvalid()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ CellTest.php, line 219
Class
Code
public function testBuildRangeInvalid() {
$cellRange = '';
try {
$result = call_user_func(array(
'PHPExcel_Cell',
'buildRange',
), $cellRange);
} catch (PHPExcel_Exception $e) {
$this
->assertEquals($e
->getMessage(), 'Range does not contain any information');
return;
}
$this
->fail('An expected exception has not been raised.');
}