You are here

protected function PostgresqlConnectionTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php \Drupal\Tests\Core\Database\Driver\pgsql\PostgresqlConnectionTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php, line 28
Contains \Drupal\Tests\Core\Database\Driver\pgsql\PostgresqlConnectionTest.

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
    ->getMock('Drupal\\Tests\\Core\\Database\\Stub\\StubPDO');
}