assertEquals($expectedResult, $result); } public function providerHLOOKUP() { return new \PhpSpreadhsheet\unitTests\TestDataFileIterator('rawTestData/Calculation/LookupRef/HLOOKUP.data'); } /** * @dataProvider providerVLOOKUP * @group fail19 */ public function testVLOOKUP() { $args = func_get_args(); $expectedResult = array_pop($args); $result = call_user_func_array(array('\PHPExcel\Calculation\LookupRef','VLOOKUP'), $args); $this->assertEquals($expectedResult, $result); } public function providerVLOOKUP() { return new \PhpSpreadhsheet\unitTests\TestDataFileIterator('rawTestData/Calculation/LookupRef/VLOOKUP.data'); } }