function InstallTasksTest::setUp

Same name in other branches
  1. 10 core/modules/mysql/tests/src/Unit/InstallTasksTest.php \Drupal\Tests\mysql\Unit\InstallTasksTest::setUp()
  2. 11.x core/modules/mysql/tests/src/Unit/InstallTasksTest.php \Drupal\Tests\mysql\Unit\InstallTasksTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/mysql/tests/src/Unit/InstallTasksTest.php, line 27

Class

InstallTasksTest
Tests the MySQL install tasks.

Namespace

Drupal\Tests\mysql\Unit

Code

public function setUp() : void {
    $this->connection = $this->prophesize(Connection::class);
}

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