You are here

public function FnStreamTest::testThrowsWhenNotImplemented in Zircon Profile 8

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

@expectedException \BadMethodCallException @expectedExceptionMessage seek() is not implemented in the FnStream

File

vendor/guzzlehttp/psr7/tests/FnStreamTest.php, line 16

Class

FnStreamTest
@covers GuzzleHttp\Psr7\FnStream

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testThrowsWhenNotImplemented() {
  (new FnStream([]))
    ->seek(1);
}