You are here

public function DocumentElementTest::testGetContent 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::testGetContent()

File

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

Class

DocumentElementTest

Namespace

Behat\Mink\Tests\Element

Code

public function testGetContent() {
  $expects = 'page content';
  $this->driver
    ->expects($this
    ->once())
    ->method('getContent')
    ->will($this
    ->returnValue($expects));
  $this
    ->assertEquals($expects, $this->document
    ->getContent());
}