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