function PostgresqlSchemaTest::setUp

Overrides UnitTestCase::setUp

File

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

Class

PostgresqlSchemaTest
@coversDefaultClass \Drupal\Core\Database\Driver\pgsql\Schema @group Database

Namespace

Drupal\Tests\Core\Database\Driver\pgsql

Code

protected function setUp() {
    parent::setUp();
    $this->connection = $this->getMockBuilder('\\Drupal\\Core\\Database\\Driver\\pgsql\\Connection')
        ->disableOriginalConstructor()
        ->getMock();
}

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