You are here

protected function TestCase::createDriver in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/driver-testsuite/tests/TestCase.php \Behat\Mink\Tests\Driver\TestCase::createDriver()

Creates a new driver instance.

This driver is not associated to a session. It is meant to be used for tests on the driver implementation itself rather than test using the Mink API.

Return value

\Behat\Mink\Driver\DriverInterface

3 calls to TestCase::createDriver()
BestPracticesTest::testExtendsCoreDriver in vendor/behat/mink/driver-testsuite/tests/Basic/BestPracticesTest.php
BestPracticesTest::testImplementBasicApi in vendor/behat/mink/driver-testsuite/tests/Basic/BestPracticesTest.php
@dataProvider provideRequiredMethods
BestPracticesTest::testImplementFindXpath in vendor/behat/mink/driver-testsuite/tests/Basic/BestPracticesTest.php
@depends testExtendsCoreDriver

File

vendor/behat/mink/driver-testsuite/tests/TestCase.php, line 116

Class

TestCase

Namespace

Behat\Mink\Tests\Driver

Code

protected function createDriver() {
  return self::getConfig()
    ->createDriver();
}