public function testEofReturnsTrueWhenResourceNotPresents() { $stream = new Stream(false); $this->assertTrue($stream->eof()); }