public function testKeepsPositionOfResource() { $h = fopen(__FILE__, 'r'); fseek($h, 10); $stream = Psr7\stream_for($h); $this->assertEquals(10, $stream->tell()); $stream->close(); }