public function PumpStreamTest::testInifiniteStreamWrappedInLimitStream in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/tests/PumpStreamTest.php \GuzzleHttp\Tests\Psr7\PumpStreamTest::testInifiniteStreamWrappedInLimitStream()
File
- vendor/
guzzlehttp/ psr7/ tests/ PumpStreamTest.php, line 47
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function testInifiniteStreamWrappedInLimitStream() {
$p = Psr7\stream_for(function () {
return 'a';
});
$s = new LimitStream($p, 5);
$this
->assertEquals('aaaaa', (string) $s);
}