10 if (!
defined(
'PHPEXCEL_ROOT')) {
11 define(
'PHPEXCEL_ROOT', APPLICATION_PATH .
'/');
13 require_once(PHPEXCEL_ROOT .
'PHPExcel/Autoloader.php');
15 $this->mockWorksheet = $this->getMockBuilder(
'PHPExcel_Worksheet')
16 ->disableOriginalConstructor()
18 $this->mockWorksheet->expects($this->any())
19 ->method(
'getHighestRow')
20 ->will($this->returnValue(5));
27 $this->assertInstanceOf(
'PHPExcel_Worksheet_Column',
$column);
28 $columnIndex =
$column->getColumnIndex();
29 $this->assertEquals(
'A', $columnIndex);
35 $this->assertInstanceOf(
'PHPExcel_Worksheet_Column',
$column);
36 $columnIndex =
$column->getColumnIndex();
37 $this->assertEquals(
'E', $columnIndex);
43 $cellIterator =
$column->getCellIterator();
44 $this->assertInstanceOf(
'PHPExcel_Worksheet_ColumnCellIterator', $cellIterator);
testInstantiateColumnDefault()
testInstantiateColumnSpecified()
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'