public function PromiseTest::testCannotResolveWithSelf in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/PromiseTest.php \GuzzleHttp\Promise\Tests\PromiseTest::testCannotResolveWithSelf()
@expectedException \LogicException @expectedExceptionMessage Cannot fulfill or reject a promise with itself
File
- vendor/
guzzlehttp/ promises/ tests/ PromiseTest.php, line 540
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function testCannotResolveWithSelf() {
$p = new Promise();
$p
->resolve($p);
}