You are here

public function AutofilterColumnTest::testSetColumnIndex in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Worksheet/AutoFilter/ColumnTest.php \AutofilterColumnTest::testSetColumnIndex()

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Worksheet/AutoFilter/ColumnTest.php, line 39

Class

AutofilterColumnTest

Code

public function testSetColumnIndex() {
  $expectedResult = 'L';

  //	Setters return the instance to implement the fluent interface
  $result = $this->_testAutoFilterColumnObject
    ->setColumnIndex($expectedResult);
  $this
    ->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);
  $result = $this->_testAutoFilterColumnObject
    ->getColumnIndex();
  $this
    ->assertEquals($expectedResult, $result);
}