You are here

public function WorksheetColumnTest::testInstantiateColumnSpecified in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Worksheet/WorksheetColumnTest.php \WorksheetColumnTest::testInstantiateColumnSpecified()

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Worksheet/WorksheetColumnTest.php, line 32

Class

WorksheetColumnTest

Code

public function testInstantiateColumnSpecified() {
  $column = new PHPExcel_Worksheet_Column($this->mockWorksheet, 'E');
  $this
    ->assertInstanceOf('PHPExcel_Worksheet_Column', $column);
  $columnIndex = $column
    ->getColumnIndex();
  $this
    ->assertEquals('E', $columnIndex);
}