| Server IP : 172.67.207.176 / Your IP : 216.73.216.47 Web Server : Apache System : Linux infong-es77 4.4.400-icpu-108 #2 SMP Wed Feb 11 10:12:42 UTC 2026 x86_64 User : u67207989 ( 1351568) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/php8.4/test/XML_Util/tests/ |
Upload File : |
<?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));
}
}