$handlerStack]); } protected function setUp(): void { Functions::setCompatibilityMode(Functions::COMPATIBILITY_EXCEL); } /** * @dataProvider providerWEBSERVICE */ public function testWEBSERVICE(string $expectedResult, string $url): void { Settings::setHttpClient(self::$client); $result = Web::WEBSERVICE($url); self::assertEquals($expectedResult, $result); } public function providerWEBSERVICE(): array { return require 'tests/data/Calculation/Web/WEBSERVICE.php'; } }