HtmlTest::testCleanInputText PHP Méthode

testCleanInputText() public méthode

public testCleanInputText ( )
    public function testCleanInputText()
    {
        $origin = 'This is a \'string\' with some "replacements" needed, but not « others »!';
        $expected = 'This is a 'string' with some "replacements" needed, but not « others »!';
        $this->assertEquals($expected, Html::cleanInputText($origin));
    }