Example #1
0
 public function testHasContent()
 {
     $this->mockNamedFinder('//some content', array('item1', 'item2'), array('content', 'some content'));
     $this->assertTrue($this->document->hasContent('some content'));
     $this->assertFalse($this->document->hasContent('some content'));
 }