1<?php
2namespace GuzzleHttp\Tests\Stream;
3
4use GuzzleHttp\Stream\InflateStream;
5use GuzzleHttp\Stream\Stream;
6use PHPUnit\Framework\TestCase;
7
8class InflateStreamtest extends TestCase
9{
10    public function testInflatesStreams()
11    {
12        $content = gzencode('test');
13        $a = Stream::factory($content);
14        $b = new InflateStream($a);
15        $this->assertEquals('test', (string) $b);
16    }
17}
18