Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
system
/
storage
/
vendor
/
guzzlehttp
/
streams
/
tests
/
Exception
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace GuzzleHttp\Tests\Stream\Exception; use GuzzleHttp\Stream\Exception\SeekException; use GuzzleHttp\Stream\Stream; class SeekExceptionTest extends \PHPUnit_Framework_TestCase { public function testHasStream() { $s = Stream::factory('foo'); $e = new SeekException($s, 10); $this->assertSame($s, $e->getStream()); $this->assertContains('10', $e->getMessage()); } }