public function FunctionsTest::testUnwrapsPromisesWithNoDefaultAndFailure in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/functionsTest.php \GuzzleHttp\Promise\Tests\FunctionsTest::testUnwrapsPromisesWithNoDefaultAndFailure()
@expectedException \GuzzleHttp\Promise\RejectionException
File
- vendor/
guzzlehttp/ promises/ tests/ functionsTest.php, line 65
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function testUnwrapsPromisesWithNoDefaultAndFailure() {
$promises = [
new FulfilledPromise('a'),
new Promise(),
];
\GuzzleHttp\Promise\unwrap($promises);
}