HtmlTest::testCleanInputText PHP Method

testCleanInputText() public method

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));
    }