public function DocumentElementTest::testHasTable 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::testHasTable()
File
- vendor/
behat/ mink/ tests/ Element/ DocumentElementTest.php, line 248
Class
Namespace
Behat\Mink\Tests\ElementCode
public function testHasTable() {
$this
->mockNamedFinder('//table', array(
'table',
), array(
'table',
'some table',
));
$this
->assertTrue($this->document
->hasTable('some table'));
$this
->assertFalse($this->document
->hasTable('some table'));
}