| Current Path : /home/rtorresani/www/vendor/magento/module-shipping/Test/Unit/Model/Simplexml/ |
| Current File : //home/rtorresani/www/vendor/magento/module-shipping/Test/Unit/Model/Simplexml/ElementTest.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Shipping\Test\Unit\Model\Simplexml;
use Magento\Shipping\Model\Simplexml\Element;
use PHPUnit\Framework\TestCase;
class ElementTest extends TestCase
{
public function testXmlentities()
{
$xmlElement = new Element('<xml></xml>');
$this->assertEquals('&copy;&', $xmlElement->xmlentities('©&'));
}
}