/** * @dataProvider htmlDecodeProvider() */ public function testHtmlDecode($expected, $str, $flags = ENT_COMPAT, $encoding = null) { $result = S::htmlDecode($str, $flags, $encoding); $this->assertInternalType('string', $result); $this->assertEquals($expected, $result); }