D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cloudlinux
/
alt-php71
/
root
/
usr
/
share
/
pear
/
test
/
XML_Util
/
tests
/
Filename :
CreateEndElementTests.php
back
Copy
<?php class CreateEndElementTests extends AbstractUnitTests { /** * @covers XML_Util::createEndElement() */ public function testCreateEndElementBasicUsage() { $original = "myTag"; $expected = "</myTag>"; $this->assertEquals($expected, XML_Util::createEndElement($original)); } /** * @covers XML_Util::createEndElement() */ public function testCreateEndElementWithNamespacedTag() { $original = "myNs:myTag"; $expected = "</myNs:myTag>"; $this->assertEquals($expected, XML_Util::createEndElement($original)); } }