/** * @issue ZF-3577 * @link http://framework.zend.com/issues/browse/ZF-3577 */ public function testZF3577() { $this->helper->setAutoEscape(true); $this->helper->__invoke('Some Title'); $this->helper->setPrefix('Prefix & '); $this->helper->setPostfix(' & Postfix'); $this->assertEquals('<title>Prefix & Some Title & Postfix</title>', $this->helper->toString()); }