You are here

public function StreamTest::testDoesNotThrowInToString in Zircon Profile 8

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

File

vendor/guzzlehttp/psr7/tests/StreamTest.php, line 155

Class

StreamTest
@covers GuzzleHttp\Psr7\Stream

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testDoesNotThrowInToString() {
  $s = \GuzzleHttp\Psr7\stream_for('foo');
  $s = new NoSeekStream($s);
  $this
    ->assertEquals('foo', (string) $s);
}