public function FunctionsTest::testKnowsIfRejected in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/functionsTest.php \GuzzleHttp\Promise\Tests\FunctionsTest::testKnowsIfRejected()
File
- vendor/
guzzlehttp/ promises/ tests/ functionsTest.php, line 282
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function testKnowsIfRejected() {
$p = new RejectedPromise(null);
$this
->assertTrue(P\is_rejected($p));
$this
->assertFalse(P\is_fulfilled($p));
}