You are here

public function StreamDecoratorTraitTest::testDetaches in Zircon Profile 8

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

File

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

Class

StreamDecoratorTraitTest
@covers GuzzleHttp\Psr7\StreamDecoratorTrait

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testDetaches() {
  $this->b
    ->detach();
  $this
    ->assertFalse($this->b
    ->isReadable());
}