You are here

public function RejectedPromiseTest::testWaitingIsNoOp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/promises/tests/RejectedPromiseTest.php \GuzzleHttp\Promise\Tests\RejectedPromiseTest::testWaitingIsNoOp()

File

vendor/guzzlehttp/promises/tests/RejectedPromiseTest.php, line 109

Class

RejectedPromiseTest
@covers GuzzleHttp\Promise\RejectedPromise

Namespace

GuzzleHttp\Promise\Tests

Code

public function testWaitingIsNoOp() {
  $p = new RejectedPromise('a');
  $p
    ->wait(false);
}