AlkantarClanX12

Your IP : 18.227.0.255


Current Path : /proc/thread-self/root/opt/alt/php72/usr/share/pear/test/XML_Util/tests/
Upload File :
Current File : //proc/thread-self/root/opt/alt/php72/usr/share/pear/test/XML_Util/tests/CreateEndElementTests.php

<?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));
    }
}