You are here

public function FulfilledPromiseTest::testCannotResolveWithPromise in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/promises/tests/FulfilledPromiseTest.php \GuzzleHttp\Tests\Promise\FulfilledPromiseTest::testCannotResolveWithPromise()

@expectedException \InvalidArgumentException

File

vendor/guzzlehttp/promises/tests/FulfilledPromiseTest.php, line 56

Class

FulfilledPromiseTest
@covers GuzzleHttp\Promise\FulfilledPromise

Namespace

GuzzleHttp\Tests\Promise

Code

public function testCannotResolveWithPromise() {
  new FulfilledPromise(new Promise());
}