You are here

public function LimitStreamTest::testSeeksWhenConstructed in Zircon Profile 8.0

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

File

vendor/guzzlehttp/psr7/tests/LimitStreamTest.php, line 69

Class

LimitStreamTest
@covers GuzzleHttp\Psr7\LimitStream

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testSeeksWhenConstructed() {
  $this
    ->assertEquals(0, $this->body
    ->tell());
  $this
    ->assertEquals(3, $this->decorated
    ->tell());
}