public function RejectedPromiseTest::testCannotResolve in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/tests/RejectedPromiseTest.php \GuzzleHttp\Promise\Tests\RejectedPromiseTest::testCannotResolve()
@expectedException \LogicException @exepctedExceptionMessage Cannot resolve a rejected promise
File
- vendor/
guzzlehttp/ promises/ tests/ RejectedPromiseTest.php, line 36
Class
Namespace
GuzzleHttp\Promise\TestsCode
public function testCannotResolve() {
$p = new RejectedPromise('foo');
$p
->resolve('bar');
}