lithium\tests\cases\template\HelperTest::testUnescapedValue PHP Method

testUnescapedValue() public method

Tests unescaped values passed through the escape() method. Unescaped values should be returned exactly the same as the original value.
public testUnescapedValue ( )
    public function testUnescapedValue()
    {
        $value = '<blockquote>"Thou shalt not escape!"</blockquote>';
        $result = $this->helper->escape($value, null, array('escape' => false));
        $this->assertEqual($value, $result);
    }