You are here

public static function TestCase::setUpBeforeClass in Zircon Profile 8.0

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

Initializes the test case.

File

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

Class

TestCase

Namespace

Behat\Mink\Tests\Driver

Code

public static function setUpBeforeClass() {
  if (null === self::$mink) {
    $session = new Session(self::getConfig()
      ->createDriver());
    self::$mink = new Mink(array(
      'sess' => $session,
    ));
  }
}