function ConnectionTest::setUp

Overrides UnitTestCase::setUp

File

core/modules/mysql/tests/src/Unit/ConnectionTest.php, line 34

Class

ConnectionTest
Tests MySQL database connections.

Namespace

Drupal\Tests\mysql\Unit

Code

public function setUp() : void {
  $this->pdoStatement = $this->prophesize(\PDOStatement::class);
  $this->pdoConnection = $this->prophesize(\PDO::class);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.