subject = new QtiTestSanitizer(); } /** * @dataProvider sanitizeContentProvider */ public function testSanitizeContent(string $content, string $expected): void { $this->assertEquals($expected, $this->subject->sanitizeContent($content)); } public function sanitizeContentProvider(): array { return [ [ 'content' => '', 'expected' => '', ], [ 'content' => '', 'expected' => '', ], [ 'content' => '<script>alert(123);</script>', 'expected' => '', ], [ 'content' => '', 'expected' => '', ], [ 'content' => '', 'expected' => '', ], [ 'content' => '