update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
14
vendor/guzzlehttp/promises/tests/AggregateExceptionTest.php
vendored
Normal file
14
vendor/guzzlehttp/promises/tests/AggregateExceptionTest.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace GuzzleHttp\Promise\Tests;
|
||||
|
||||
use GuzzleHttp\Promise\AggregateException;
|
||||
|
||||
class AggregateExceptionTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testHasReason()
|
||||
{
|
||||
$e = new AggregateException('foo', ['baz', 'bar']);
|
||||
$this->assertContains('foo', $e->getMessage());
|
||||
$this->assertEquals(['baz', 'bar'], $e->getReason());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user