This commit is contained in:
2025-10-20 10:02:41 +08:00
parent a4858d47fc
commit dc0a271adf
2805 changed files with 451240 additions and 0 deletions

View 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());
}
}