File "EndpointProviderTest.php"

Full Path: /www/wwwroot/shphe-en.com/smsapi/api_sdk/tests/Core/Regions/EndpointProviderTest.php
File size: 412 bytes
MIME-type: --
Charset: utf-8

<?php

namespace Aliyun\Test\Core\Profile;
use PHPUnit\Framework\TestCase;
use Aliyun\Core\Regions\EndpointProvider;
use Aliyun\Core\Config;

class EndpointProviderTest extends TestCase
{
    public function setUp() {
        Config::load();
    }

	public function testFindProductDomain()
	{
		$this->assertEquals("ecs-cn-hangzhou.aliyuncs.com",EndpointProvider::findProductDomain("cn-hangzhou", "Ecs"));
	}
	
}