コード例 #1
0
ファイル: StreamTest.php プロジェクト: easy-system/es-http
 public function testTellThrowsExceptionWhenError()
 {
     $stream = new Stream();
     $resource = $stream->getResource();
     fseek($resource, 100);
     $this->setExpectedException('RuntimeException');
     $stream->tell();
 }