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