You are here

public function DocumentElementTest::testGetOuterHtml in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/tests/Element/DocumentElementTest.php \Behat\Mink\Tests\Element\DocumentElementTest::testGetOuterHtml()

File

vendor/behat/mink/tests/Element/DocumentElementTest.php, line 438

Class

DocumentElementTest

Namespace

Behat\Mink\Tests\Element

Code

public function testGetOuterHtml() {
  $expects = 'val1';
  $this->driver
    ->expects($this
    ->once())
    ->method('getOuterHtml')
    ->with('//html')
    ->will($this
    ->returnValue($expects));
  $this
    ->assertEquals($expects, $this->document
    ->getOuterHtml());
}