public function FunctionsTest::testCanInspectRejectedPromise in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/functionsTest.php \GuzzleHttp\Promise\Tests\FunctionsTest::testCanInspectRejectedPromise()
File
- vendor/
guzzlehttp/ promises/ tests/ functionsTest.php, line 231
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function testCanInspectRejectedPromise() {
$p = new RejectedPromise('foo');
$this
->assertEquals([
'state' => 'rejected',
'reason' => 'foo',
], \GuzzleHttp\Promise\inspect($p));
}