public function NodeElementTest::testGetTagName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/Element/NodeElementTest.php \Behat\Mink\Tests\Element\NodeElementTest::testGetTagName()
File
- vendor/
behat/ mink/ tests/ Element/ NodeElementTest.php, line 363
Class
Namespace
Behat\Mink\Tests\ElementCode
public function testGetTagName() {
$node = new NodeElement('html//h3', $this->session);
$this->driver
->expects($this
->once())
->method('getTagName')
->with('html//h3')
->will($this
->returnValue('h3'));
$this
->assertEquals('h3', $node
->getTagName());
}