function PostgresqlConnectionTest::setUp

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php, line 24

Class

PostgresqlConnectionTest
@coversDefaultClass \Drupal\Core\Database\Driver\pgsql\Connection @group Database

Namespace

Drupal\Tests\Core\Database\Driver\pgsql

Code

protected function setUp() {
    parent::setUp();
    $this->mockPdo = $this->createMock('Drupal\\Tests\\Core\\Database\\Stub\\StubPDO');
}

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