Exemplo n.º 1
0
 /**
  * @depends	testInitialState
  * @return	null
  */
 public function testSetHeadTag()
 {
     $head = $this->getMock('Appfuel\\View\\Html\\Tag\\HeadTagInterface');
     $head->expects($this->any())->method('getTagName')->will($this->returnValue('head'));
     $this->assertSame($this->head, $this->head->setHeadTag($head));
     $this->assertSame($head, $this->head->getHeadTag());
 }