public function DocumentElementTest::testGetHtml 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::testGetHtml()
File
- vendor/
behat/ mink/ tests/ Element/ DocumentElementTest.php, line 426
Class
Namespace
Behat\Mink\Tests\ElementCode
public function testGetHtml() {
$expects = 'val1';
$this->driver
->expects($this
->once())
->method('getHtml')
->with('//html')
->will($this
->returnValue($expects));
$this
->assertEquals($expects, $this->document
->getHtml());
}