public function FunctionsTest::testCreatesWithFactory in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/tests/FunctionsTest.php \GuzzleHttp\Tests\Psr7\FunctionsTest::testCreatesWithFactory()
File
- vendor/
guzzlehttp/ psr7/ tests/ FunctionsTest.php, line 352
Class
Namespace
GuzzleHttp\Tests\Psr7Code
public function testCreatesWithFactory() {
$stream = Psr7\stream_for('foo');
$this
->assertInstanceOf('GuzzleHttp\\Psr7\\Stream', $stream);
$this
->assertEquals('foo', $stream
->getContents());
$stream
->close();
}