mightHaveException($expectedResult); $sheet = $this->sheet; $sheet->setCellValue('A3', 49); $sheet->getCell('A1')->setValue("=ROMAN($formula)"); $result = $sheet->getCell('A1')->getCalculatedValue(); self::assertEquals($expectedResult, $result); } public function providerROMAN() { return require 'tests/data/Calculation/MathTrig/ROMAN.php'; } }