You are here

public function ConnectionTest::setUp in Drupal 9

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Database/Driver/mysql/ConnectionTest.php, line 33

Class

ConnectionTest
Tests MySQL database connections.

Namespace

Drupal\Tests\Core\Database\Driver\mysql

Code

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