27 lines
608 B
PHP
Executable File
27 lines
608 B
PHP
Executable File
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Directory\Helper;
|
|
|
|
class DataTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
/**
|
|
* @var \Magento\Directory\Helper\Data
|
|
*/
|
|
protected $helper;
|
|
|
|
protected function setUp(): void
|
|
{
|
|
$this->helper = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(
|
|
\Magento\Directory\Helper\Data::class
|
|
);
|
|
}
|
|
|
|
public function testGetDefaultCountry()
|
|
{
|
|
$this->assertEquals('US', $this->helper->getDefaultCountry());
|
|
}
|
|
}
|