class AggregateExceptionTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/AggregateExceptionTest.php \GuzzleHttp\Promise\Tests\AggregateExceptionTest
Hierarchy
- class \GuzzleHttp\Promise\Tests\AggregateExceptionTest extends \GuzzleHttp\Promise\Tests\PHPUnit_Framework_TestCase
Expanded class hierarchy of AggregateExceptionTest
File
- vendor/
guzzlehttp/ promises/ tests/ AggregateExceptionTest.php, line 6
Namespace
GuzzleHttp\Promise\TestsView source
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());
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AggregateExceptionTest:: |
public | function |