You are here

public function FulfilledPromiseTest::testCanResolveWithSameValue in Zircon Profile 8.0

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

File

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

Class

FulfilledPromiseTest
@covers GuzzleHttp\Promise\FulfilledPromise

Namespace

GuzzleHttp\Tests\Promise

Code

public function testCanResolveWithSameValue() {
  $p = new FulfilledPromise('foo');
  $p
    ->resolve('foo');
}