You are here

public function InflateStreamtest::testInflatesStreams in Zircon Profile 8.0

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

File

vendor/guzzlehttp/psr7/tests/InflateStreamTest.php, line 9

Class

InflateStreamtest

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testInflatesStreams() {
  $content = gzencode('test');
  $a = Psr7\stream_for($content);
  $b = new InflateStream($a);
  $this
    ->assertEquals('test', (string) $b);
}