Ejemplo n.º 1
0
 /**
  * @expectedException	InvalidArgumentException
  * @depends				testInitialState
  * @return				null
  */
 public function testSetInlineScriptTagScriptWithSrc_Failure()
 {
     $tag = $this->getMock($this->tagInterface);
     $tag->expects($this->once())->method('getTagName')->will($this->returnValue('script'));
     $tag->expects($this->once())->method('isAttribute')->will($this->returnValue(true));
     $this->head->setInlineScriptTag($tag);
 }