You are here

public function XEEValidatorTest::testValidXML in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Reader/XEEValidatorTest.php \XEEValidatorTest::testValidXML()

@dataProvider providerValidXML

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Reader/XEEValidatorTest.php, line 39

Class

XEEValidatorTest

Code

public function testValidXML($filename, $expectedResult) {
  $reader = $this
    ->getMockForAbstractClass('PHPExcel_Reader_Abstract');
  $result = $reader
    ->securityScanFile($filename);
  $this
    ->assertEquals($expectedResult, $result);
}