You are here

InflateStreamTest.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 vendor/guzzlehttp/psr7/tests/InflateStreamTest.php

File

vendor/guzzlehttp/psr7/tests/InflateStreamTest.php
View source
<?php

namespace GuzzleHttp\Tests\Psr7;

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

}

Classes

Namesort descending Description
InflateStreamtest