You are here

public function SessionTest::testGetScreenshot in Zircon Profile 8

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

File

vendor/behat/mink/tests/SessionTest.php, line 195

Class

SessionTest

Namespace

Behat\Mink\Tests

Code

public function testGetScreenshot() {
  $this->driver
    ->expects($this
    ->once())
    ->method('getScreenshot')
    ->will($this
    ->returnValue('screenshot'));
  $this
    ->assertEquals('screenshot', $this->session
    ->getScreenshot());
}