You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
21
vendor/oss-sdk/tests/OSS/Tests/BucketInfoTest.php
vendored
Executable file
21
vendor/oss-sdk/tests/OSS/Tests/BucketInfoTest.php
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace OSS\Tests;
|
||||
|
||||
use OSS\Model\BucketInfo;
|
||||
|
||||
/**
|
||||
* Class BucketInfoTest
|
||||
* @package OSS\Tests
|
||||
*/
|
||||
class BucketInfoTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testConstruct()
|
||||
{
|
||||
$bucketInfo = new BucketInfo('cn-beijing', 'name', 'today');
|
||||
$this->assertNotNull($bucketInfo);
|
||||
$this->assertEquals('cn-beijing', $bucketInfo->getLocation());
|
||||
$this->assertEquals('name', $bucketInfo->getName());
|
||||
$this->assertEquals('today', $bucketInfo->getCreateDate());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user