public function testEofAttachedTrue() { $this->stream = $this->resourceFactory(); $body = new Body($this->stream); while (feof($this->stream) === false) { fread($this->stream, 1024); } $this->assertTrue($body->eof()); }
public function testEofAttachedTrue() { $this->stream = $this->resourceFactory(); $body = new Body($this->stream); while (feof($this->stream) === false) { fread($this->stream, 1024); } $this->assertTrue($body->eof()); }