public function FunctionsTest::testReturnsPromisesAsIsInRejectionFor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/functionsTest.php \GuzzleHttp\Promise\Tests\FunctionsTest::testReturnsPromisesAsIsInRejectionFor()
File
- vendor/
guzzlehttp/ promises/ tests/ functionsTest.php, line 41
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function testReturnsPromisesAsIsInRejectionFor() {
$a = new Promise();
$b = \GuzzleHttp\Promise\rejection_for($a);
$this
->assertSame($a, $b);
}