You are here

protected function LanguageTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/ckeditor5/tests/src/Kernel/LanguageTest.php \Drupal\Tests\ckeditor5\Kernel\LanguageTest::setUp()
  2. 10 core/modules/ckeditor/tests/src/Unit/Plugin/CKEditorPlugin/LanguageTest.php \Drupal\Tests\ckeditor\Unit\Plugin\CKEditorPlugin\LanguageTest::setUp()
Same name and namespace in other branches
  1. 8 core/modules/ckeditor/tests/src/Unit/Plugin/CKEditorPlugin/LanguageTest.php \Drupal\Tests\ckeditor\Unit\Plugin\CKEditorPlugin\LanguageTest::setUp()
  2. 9 core/modules/ckeditor/tests/src/Unit/Plugin/CKEditorPlugin/LanguageTest.php \Drupal\Tests\ckeditor\Unit\Plugin\CKEditorPlugin\LanguageTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/ckeditor/tests/src/Unit/Plugin/CKEditorPlugin/LanguageTest.php, line 26

Class

LanguageTest
@coversDefaultClass \Drupal\ckeditor\Plugin\CKEditorPlugin\Language

Namespace

Drupal\Tests\ckeditor\Unit\Plugin\CKEditorPlugin

Code

protected function setUp() : void {
  $this->plugin = new Language([], $this
    ->randomMachineName(), []);
}