This commit is contained in:
gaofeng
2026-06-17 09:23:18 +08:00
commit 81ade70944
1638 changed files with 213697 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace UnitTests\Exception;
use AlibabaCloud\Oss\V2\Exception\OperationException;
class ExceptionTest extends \PHPUnit\Framework\TestCase
{
public function testOperationException()
{
$e = new OperationException('GetBucketAcl', new \InvalidArgumentException('abc is invalid'));
$this->assertNotNull($e);
$this->assertEquals('Operation error GetBucketAcl: abc is invalid', $e->getMessage());
}
}