You are here

public function AppendStreamTest::testValidatesSeekType in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/psr7/tests/AppendStreamTest.php \GuzzleHttp\Tests\Psr7\AppendStreamTest::testValidatesSeekType()

@expectedException \RuntimeException @expectedExceptionMessage The AppendStream can only seek with SEEK_SET

File

vendor/guzzlehttp/psr7/tests/AppendStreamTest.php, line 29

Class

AppendStreamTest

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testValidatesSeekType() {
  $a = new AppendStream();
  $a
    ->seek(100, SEEK_CUR);
}