예제 #1
0
 public function testIndentationIsHonored()
 {
     $this->helper->setIndent(4);
     $this->helper->headTitle('foo');
     $string = $this->helper->toString();
     $this->assertContains('    <title>', $string);
 }
예제 #2
0
 public function testZF2918()
 {
     $this->helper->headTitle('Some Title');
     $this->helper->setPrefix('Prefix: ');
     $this->helper->setPostfix(' :Postfix');
     $this->assertEquals('<title>Prefix: Some Title :Postfix</title>', $this->helper->toString());
 }
예제 #3
0
 /**
  * @group ZF-8036
  */
 public function testHeadTitleZero()
 {
     $this->helper->__invoke('0');
     $this->assertEquals('<title>0</title>', $this->helper->toString());
 }