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