public function testClone() { $stream = new Horde_Stream_String(array('string' => 'Foo')); $stream->rewind(); $this->ob->setFullMsg($stream->stream); $ob2 = clone $this->ob; $this->ob->setFullMsg('Bar'); $this->assertEquals('Bar', $this->ob->getFullMsg()); $this->assertEquals('Foo', $ob2->getFullMsg()); }
/** */ public function eof() { return $this->_string ? $this->_string->eof() : parent::eof(); }