示例#1
0
 public function testHasLink()
 {
     $this->mockNamedFinder('//link', array('link1', 'link2', 'link3'), array('link', 'some link'));
     $this->assertTrue($this->document->hasLink('some link'));
     $this->assertFalse($this->document->hasLink('some link'));
 }