常用方法
常用方法
常用方法
常用方法
/** * @expectedException InvalidArgumentException * @depends testInterface * @return null */ public function testSetBaseTagNotBase() { $tag = $this->getMock($this->tagInterface); $tag->expects($this->once())->method('getTagName')->will($this->returnValue('title')); $this->htmlDoc->setBaseTag($tag); }