public function RejectedPromiseTest::testCannotCancel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/RejectedPromiseTest.php \GuzzleHttp\Promise\Tests\RejectedPromiseTest::testCannotCancel()
File
- vendor/
guzzlehttp/ promises/ tests/ RejectedPromiseTest.php, line 25
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function testCannotCancel() {
$p = new RejectedPromise('foo');
$p
->cancel();
$this
->assertEquals('rejected', $p
->getState());
}