public function LimitStreamTest::testReturnsNullIfSizeCannotBeDetermined in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/tests/LimitStreamTest.php \GuzzleHttp\Tests\Psr7\LimitStreamTest::testReturnsNullIfSizeCannotBeDetermined()
File
- vendor/
guzzlehttp/ psr7/ tests/ LimitStreamTest.php, line 150
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function testReturnsNullIfSizeCannotBeDetermined() {
$a = new FnStream([
'getSize' => function () {
return null;
},
'tell' => function () {
return 0;
},
]);
$b = new LimitStream($a);
$this
->assertNull($b
->getSize());
}