first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace GuzzleHttp\Tests\Event;
use GuzzleHttp\Exception\ParseException;
use GuzzleHttp\Message\Response;
/**
* @covers GuzzleHttp\Exception\ParseException
*/
class ParseExceptionTest extends \PHPUnit_Framework_TestCase
{
public function testHasResponse()
{
$res = new Response(200);
$e = new ParseException('foo', $res);
$this->assertSame($res, $e->getResponse());
$this->assertEquals('foo', $e->getMessage());
}
}