/** * @dataProvider provideCheckSvgScriptCallback */ public function testCheckSvgScriptCallback($svg, $wellFormed, $filterMatch, $message) { list($formed, $match) = $this->upload->checkSvgString($svg); $this->assertSame($wellFormed, $formed, $message); $this->assertSame($filterMatch, $match, $message); }