You are here

public function StreamDecoratorTraitTest::testThrowsWhenGetterNotImplemented in Zircon Profile 8

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

@expectedException \BadMethodCallException

File

vendor/guzzlehttp/psr7/tests/StreamDecoratorTraitTest.php, line 125

Class

StreamDecoratorTraitTest
@covers GuzzleHttp\Psr7\StreamDecoratorTrait

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testThrowsWhenGetterNotImplemented() {
  $s = new BadStream();
  $s->stream;
}