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