_parFormat = new PHPRtfLite_ParFormat(); } /** * tests getContent(). */ public function testGetContent() { $this->_parFormat->setIndentLeft(5); $this->_parFormat->setIndentRight(5); $this->_parFormat->setSpaceBefore(5); $this->_parFormat->setSpaceAfter(5); $this->_parFormat->setIndentFirstLine(3); $this->_parFormat->setSpaceBetweenLines(1.2); $this->_parFormat->setShading(50); $this->assertEquals('\ql \fi1701 \li2835 \ri2835 \sb100 \sa100 \sl288 \shading5000 ', $this->_parFormat->getContent()); } }