AlkantarClanX12

Your IP : 18.222.113.135


Current Path : /opt/cpanel/ea-php72/root/usr/share/tests/pear/XML_Util/tests/
Upload File :
Current File : //opt/cpanel/ea-php72/root/usr/share/tests/pear/XML_Util/tests/CreateCDataSectionTests.php

<?php

class CreateCDataSectionTests extends AbstractUnitTests
{
    /**
     * @covers XML_Util::createCDataSection()
     */
    public function testCreateCDataSectionBasicUsage()
    {
        $original = "I am content.";
        $expected ="<![CDATA[I am content.]]>";
        $this->assertEquals($expected, XML_Util::createCDataSection($original));
    }
}