0byt3m1n1
Path:
/
home
/
mgatv524
/
php
/
tests
/
XML_Util
/
tests
/
[
Home
]
File: 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)); } }