You are here

public function PromiseTest::testCanResolveWithSameValue in Zircon Profile 8.0

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

File

vendor/guzzlehttp/promises/tests/PromiseTest.php, line 27

Class

PromiseTest
@covers GuzzleHttp\Promise\Promise

Namespace

GuzzleHttp\Promise\Tests

Code

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