You are here

public function FunctionsTest::testCreatesPromiseForValue in Zircon Profile 8

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

File

vendor/guzzlehttp/promises/tests/functionsTest.php, line 11

Class

FunctionsTest

Namespace

GuzzleHttp\Promise\Tests

Code

public function testCreatesPromiseForValue() {
  $p = \GuzzleHttp\Promise\promise_for('foo');
  $this
    ->assertInstanceOf('GuzzleHttp\\Promise\\FulfilledPromise', $p);
}