public function LimitStreamTest::testGetContentsIsBasedOnSubset in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/tests/LimitStreamTest.php \GuzzleHttp\Tests\Psr7\LimitStreamTest::testGetContentsIsBasedOnSubset()
File
- vendor/
guzzlehttp/ psr7/ tests/ LimitStreamTest.php, line 144
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function testGetContentsIsBasedOnSubset() {
$body = new LimitStream(Psr7\stream_for('foobazbar'), 3, 3);
$this
->assertEquals('baz', $body
->getContents());
}