You are here

public function EachPromiseTest::testReturnsSameInstance in Zircon Profile 8

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

File

vendor/guzzlehttp/promises/tests/EachPromiseTest.php, line 16

Class

EachPromiseTest
@covers GuzzleHttp\Promise\EachPromise

Namespace

GuzzleHttp\Promise\Tests

Code

public function testReturnsSameInstance() {
  $each = new EachPromise([], [
    'concurrency' => 100,
  ]);
  $this
    ->assertSame($each
    ->promise(), $each
    ->promise());
}