/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. */ protected function setUp() { // register PHPRtfLite class loader $this->_rtf = new PHPRtfLite(); $writer = new PHPRtfLite_Writer_String(); $this->_rtf->setWriter($writer); }
/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. */ protected function setUp() { $this->_rtf = new PHPRtfLite(); $writer = new PHPRtfLite_Writer_String(); $this->_rtf->setWriter($writer); }