scratch – Blame information for rev 87
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
87 | office | 1 | <?php |
2 | namespace GuzzleHttp\Tests\Stream; |
||
3 | |||
4 | use GuzzleHttp\Stream\InflateStream; |
||
5 | use GuzzleHttp\Stream\Stream; |
||
6 | |||
7 | class InflateStreamtest extends \PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | public function testInflatesStreams() |
||
10 | { |
||
11 | $content = gzencode('test'); |
||
12 | $a = Stream::factory($content); |
||
13 | $b = new InflateStream($a); |
||
14 | $this->assertEquals('test', (string) $b); |
||
15 | } |
||
16 | } |