You are here

public function LimitStreamTest::testEnsuresPositionCanBeekSeekedTo in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/tests/LimitStreamTest.php \GuzzleHttp\Tests\Psr7\LimitStreamTest::testEnsuresPositionCanBeekSeekedTo()

@expectedException \RuntimeException @expectedExceptionMessage Unable to seek to stream position 10 with whence 0

File

vendor/guzzlehttp/psr7/tests/LimitStreamTest.php, line 50

Class

LimitStreamTest
@covers GuzzleHttp\Psr7\LimitStream

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testEnsuresPositionCanBeekSeekedTo() {
  new LimitStream(Psr7\stream_for(''), 0, 10);
}