6 class HtmlArmorTest
extends PHPUnit_Framework_TestCase
{
8 public static function provideHtmlArmor() {
15 '<script>alert("evil!");</script>',
16 '<script>alert("evil!");</script>',
19 new HtmlArmor( '<script>alert("evil!");</script>' ),
20 '<script>alert("evil!");</script>',
26 * @dataProvider provideHtmlArmor
28 public function testHtmlArmor( $input, $expected ) {
31 HtmlArmor
::getHtml( $input )