function LockBackendAbstractTest::setUp

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php \Drupal\Tests\Core\Lock\LockBackendAbstractTest::setUp()
  2. 10 core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php \Drupal\Tests\Core\Lock\LockBackendAbstractTest::setUp()
  3. 11.x core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php \Drupal\Tests\Core\Lock\LockBackendAbstractTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php, line 23

Class

LockBackendAbstractTest
@coversDefaultClass \Drupal\Tests\Core\Lock\LockBackendAbstractTest @group Lock

Namespace

Drupal\Tests\Core\Lock

Code

protected function setUp() : void {
    $this->lock = $this->getMockForAbstractClass('Drupal\\Core\\Lock\\LockBackendAbstract');
}

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