OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
aws-ses
/
vendor
/
aws
/
aws-sdk-php
/
tests
/
Api
/
Parser
/
Exception
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/14/2024 11:03:11 AM
rwxr-xr-x
📄
ParserExceptionTest.php
649 bytes
08/14/2024 11:03:11 AM
rw-r--r--
Editing: ParserExceptionTest.php
Close
<?php namespace Aws\Test\Api\Parser\Exception; use Aws\Api\Parser\Exception\ParserException; use PHPUnit\Framework\TestCase; /** * @covers \Aws\Api\Parser\Exception\ParserException */ class ParserExceptionTest extends TestCase { public function testExtractsContext() { $exception = new ParserException( '', 0, null, [ 'error_code' => 'foo', 'request_id' => 'bar', ] ); $this->assertSame('foo', $exception->getErrorCode()); $this->assertSame('bar', $exception->getRequestId()); } }