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(
'getHighestColumn')
20 ->will($this->returnValue(
'E'));
27 $this->assertInstanceOf(
'PHPExcel_Worksheet_Row',
$row);
28 $rowIndex =
$row->getRowIndex();
29 $this->assertEquals(1, $rowIndex);
35 $this->assertInstanceOf(
'PHPExcel_Worksheet_Row',
$row);
36 $rowIndex =
$row->getRowIndex();
37 $this->assertEquals(5, $rowIndex);
43 $cellIterator =
$row->getCellIterator();
44 $this->assertInstanceOf(
'PHPExcel_Worksheet_RowCellIterator', $cellIterator);
testInstantiateRowDefault()
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
testInstantiateRowSpecified()