You are here

public function StreamDecoratorTraitTest::testWrapsWrites in Zircon Profile 8.0

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

File

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

Class

StreamDecoratorTraitTest
@covers GuzzleHttp\Psr7\StreamDecoratorTrait

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testWrapsWrites() {
  $this->b
    ->seek(0, SEEK_END);
  $this->b
    ->write('foo');
  $this
    ->assertEquals('foofoo', (string) $this->a);
}