You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
391 B
16 lines
391 B
<?php
|
|
namespace GuzzleHttp\Tests\Stream;
|
|
|
|
use GuzzleHttp\Stream\InflateStream;
|
|
use GuzzleHttp\Stream\Stream;
|
|
|
|
class InflateStreamtest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
public function testInflatesStreams()
|
|
{
|
|
$content = gzencode('test');
|
|
$a = Stream::factory($content);
|
|
$b = new InflateStream($a);
|
|
$this->assertEquals('test', (string) $b);
|
|
}
|
|
}
|
|
|