Init Server Composer Components
This commit is contained in:
parent
35db27b0e6
commit
a44cc1d2e3
177 changed files with 24745 additions and 0 deletions
14
server/vendor/guzzlehttp/promises/tests/AggregateExceptionTest.php
vendored
Normal file
14
server/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());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue