function LocaleProjectStorageTest::setUp
Same name in other branches
- 10 core/modules/locale/tests/src/Unit/LocaleProjectStorageTest.php \Drupal\Tests\locale\Unit\LocaleProjectStorageTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
modules/ locale/ tests/ src/ Unit/ LocaleProjectStorageTest.php, line 31
Class
- LocaleProjectStorageTest
- @coversDefaultClass \Drupal\locale\LocaleProjectStorage @group locale @runTestsInSeparateProcesses
Namespace
Drupal\Tests\locale\UnitCode
protected function setUp() : void {
parent::setUp();
$this->keyValueMemoryFactory = new KeyValueMemoryFactory();
$this->projectStorage = new LocaleProjectStorage($this->keyValueMemoryFactory);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.