function LockBackendAbstractTest::setUp

Overrides UnitTestCase::setUp

File

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

Class

LockBackendAbstractTest
@coversDefaultClass \Drupal\Tests\Core\Lock\LockBackendAbstractTest[[api-linebreak]] @group Lock

Namespace

Drupal\Tests\Core\Lock

Code

protected function setUp() : void {
  parent::setUp();
  $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.