public function CachingStreamTest::testUsesRemoteSizeIfPossible in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/tests/CachingStreamTest.php \GuzzleHttp\Tests\Psr7\CachingStreamTest::testUsesRemoteSizeIfPossible()
File
- vendor/
guzzlehttp/ psr7/ tests/ CachingStreamTest.php, line 28
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function testUsesRemoteSizeIfPossible() {
$body = Psr7\stream_for('test');
$caching = new CachingStream($body);
$this
->assertEquals(4, $caching
->getSize());
}