/** * Get text */ public function testText() { $oText = new Text('text'); $this->assertEquals($oText->getText(), 'text'); }
/** * Get text * * @return string * @since 0.11.0 */ public function getText() { return $this->textObject->getText(); }
/** * Get text */ public function testText() { $oText = new Text(htmlspecialchars('text', ENT_COMPAT, 'UTF-8')); $this->assertEquals(htmlspecialchars('text', ENT_COMPAT, 'UTF-8'), $oText->getText()); }