예제 #1
0
 public function testCanPrependTitlesUsingDefaultAttachOrder()
 {
     $this->helper->setDefaultAttachOrder('PREPEND');
     $placeholder = $this->helper->direct('Foo');
     $placeholder = $this->helper->direct('Bar');
     $this->assertContains('BarFoo', $placeholder->toString());
 }
예제 #2
0
 /**
  * @see ZF-8036
  */
 public function testHeadTitleZero()
 {
     $this->helper->direct('0');
     $this->assertEquals('<title>0</title>', $this->helper->toString());
 }