public function AutofilterColumnTest::testSetAttributes in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Worksheet/AutoFilter/ColumnTest.php \AutofilterColumnTest::testSetAttributes()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Worksheet/ AutoFilter/ ColumnTest.php, line 114
Class
Code
public function testSetAttributes() {
$attributeSet = array(
'val' => 100,
'maxVal' => 200,
);
// Setters return the instance to implement the fluent interface
$result = $this->_testAutoFilterColumnObject
->setAttributes($attributeSet);
$this
->assertInstanceOf('PHPExcel_Worksheet_AutoFilter_Column', $result);
}