function LockBackendAbstractTest::setUp
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php \Drupal\Tests\Core\Lock\LockBackendAbstractTest::setUp()
- 8.9.x core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php \Drupal\Tests\Core\Lock\LockBackendAbstractTest::setUp()
- 10 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 25
Class
- LockBackendAbstractTest
- @coversDefaultClass \Drupal\Tests\Core\Lock\LockBackendAbstractTest @group Lock
Namespace
Drupal\Tests\Core\LockCode
protected function setUp() : void {
parent::setUp();
$this->lock = $this->getMockBuilder(StubLockBackendAbstract::class)
->onlyMethods([
'lockMayBeAvailable',
])
->getMock();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.