You are here

public function FunctionsTest::testCreatesUriForValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/tests/FunctionsTest.php \GuzzleHttp\Tests\Psr7\FunctionsTest::testCreatesUriForValue()

File

vendor/guzzlehttp/psr7/tests/FunctionsTest.php, line 326

Class

FunctionsTest

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testCreatesUriForValue() {
  $this
    ->assertInstanceOf('GuzzleHttp\\Psr7\\Uri', Psr7\uri_for('/foo'));
  $this
    ->assertInstanceOf('GuzzleHttp\\Psr7\\Uri', Psr7\uri_for(new Psr7\Uri('/foo')));
}