public function DocumentElementTest::testHasContent in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/Element/DocumentElementTest.php \Behat\Mink\Tests\Element\DocumentElementTest::testHasContent()
File
- vendor/
behat/ mink/ tests/ Element/ DocumentElementTest.php, line 144
Class
Namespace
Behat\Mink\Tests\ElementCode
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'));
}