public function testTellReportsCurrentPositionInResource()
{
$this->tmpnam = tempnam(sys_get_temp_dir(), 'phly');
file_put_contents($this->tmpnam, 'FOO BAR');
$resource = fopen($this->tmpnam, 'wb+');
$stream = new Stream($resource);
fseek($resource, 2);
$this->assertEquals(2, $stream->tell());
}