You are here

public function AutoFilterTest::testClearRange in Loft Data Grids 7.2

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

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Worksheet/AutoFilterTest.php, line 82

Class

AutoFilterTest

Code

public function testClearRange() {
  $expectedResult = '';

  //	Setters return the instance to implement the fluent interface
  $result = $this->_testAutoFilterObject
    ->setRange();
  $this
    ->assertInstanceOf('PHPExcel_Worksheet_AutoFilter', $result);

  //	Result should be a clear range
  $result = $this->_testAutoFilterObject
    ->getRange();
  $this
    ->assertEquals($expectedResult, $result);
}