You are here

public function StreamDecoratorTraitTest::testCheckMethods in Zircon Profile 8.0

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

File

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

Class

StreamDecoratorTraitTest
@covers GuzzleHttp\Psr7\StreamDecoratorTrait

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testCheckMethods() {
  $this
    ->assertEquals($this->a
    ->isReadable(), $this->b
    ->isReadable());
  $this
    ->assertEquals($this->a
    ->isWritable(), $this->b
    ->isWritable());
  $this
    ->assertEquals($this->a
    ->isSeekable(), $this->b
    ->isSeekable());
}