2
namespace GuzzleHttp\Tests\Stream;
4
use GuzzleHttp\Stream\InflateStream;
5
use GuzzleHttp\Stream\Stream;
7
class InflateStreamtest extends \PHPUnit_Framework_TestCase
9
public function testInflatesStreams()
11
$content = gzencode('test');
12
$a = Stream::factory($content);
13
$b = new InflateStream($a);
14
$this->assertEquals('test', (string) $b);