Current Path : /proc/thread-self/root/proc/self/root/opt/cloudlinux/alt-php82/root/usr/share/pear/test/XML_Util/tests/ |
Current File : //proc/thread-self/root/proc/self/root/opt/cloudlinux/alt-php82/root/usr/share/pear/test/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)); } }