'foo', 'request_id' => 'bar', ] ); $this->assertSame('foo', $exception->getErrorCode()); $this->assertSame('bar', $exception->getRequestId()); } }