public function LimitStreamTest::testThrowsWhenCurrentGreaterThanOffsetSeek in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/tests/LimitStreamTest.php \GuzzleHttp\Tests\Psr7\LimitStreamTest::testThrowsWhenCurrentGreaterThanOffsetSeek()
@expectedException \RuntimeException @expectedExceptionMessage Could not seek to stream offset 2
File
- vendor/
guzzlehttp/ psr7/ tests/ LimitStreamTest.php, line 115
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function testThrowsWhenCurrentGreaterThanOffsetSeek() {
$a = Psr7\stream_for('foo_bar');
$b = new NoSeekStream($a);
$c = new LimitStream($b);
$a
->getContents();
$c
->setOffset(2);
}