public function LimitStreamTest::testCanGetContentsWithoutSeeking in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/tests/LimitStreamTest.php \GuzzleHttp\Tests\Psr7\LimitStreamTest::testCanGetContentsWithoutSeeking()
File
- vendor/
guzzlehttp/ psr7/ tests/ LimitStreamTest.php, line 124
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function testCanGetContentsWithoutSeeking() {
$a = Psr7\stream_for('foo_bar');
$b = new NoSeekStream($a);
$c = new LimitStream($b);
$this
->assertEquals('foo_bar', $c
->getContents());
}