public function CellTest::testCoordinateFromStringWithInvalidAddress in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/CellTest.php \CellTest::testCoordinateFromStringWithInvalidAddress()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ CellTest.php, line 113
Class
Code
public function testCoordinateFromStringWithInvalidAddress() {
$cellAddress = 'AI';
try {
$result = call_user_func(array(
'PHPExcel_Cell',
'coordinateFromString',
), $cellAddress);
} catch (PHPExcel_Exception $e) {
$this
->assertEquals($e
->getMessage(), 'Invalid cell coordinate ' . $cellAddress);
return;
}
$this
->fail('An expected exception has not been raised.');
}